-
Notifications
You must be signed in to change notification settings - Fork 60
Best Practices
This page serves to capture the recipes or best practices developers should follow to maintain high quality code/resources that power Supersonic. Hints or tips that might accelerate developers are encouraged!
Using Maven run mvn clean -P full; mvn install -P full
from the top level of the project.
Based on your operating system, Maven will call the correct tools to package Supersonic for distribution into the OS's respective installer target
directory.
To optimize the png images i used optipng
find . -iname "*.png" exec optipng -o7 {} \;
this searches in the current directory and subdirectory for images with the ending .png and lets optipng optimize them with the highest setting (-o7 )
and basically the same for jpeg images
find . -iname "*.jpg" exec jpegoptim {} \;
and for gif images
find -iname "*.gif" -exec gifsicle -O3 --batch {} \;