Skip to content
rtznprmpftl edited this page Mar 18, 2012 · 8 revisions

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!

Building packaged artifacts

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.

Image optimization

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 {} \;

Clone this wiki locally