Currently we build the compressed version of the scripts from the source folder manually. That's dumb.
All that's really needed is a shell script that runs like the tools/devtools script in platform. (https://github.com/cashmusic/platform/blob/master/tools/devtools) It should scan the /source folder for all JS/CSS and send curl requests to compress everything it finds and replace/create counterparts in the /compressed folder.
- We use closure compiler for JS (https://closure-compiler.appspot.com/home) which has many options for command-line usage.
- Right now we're just writing short CSS...should look into which scripts are best to strip extra whitespace/formatting.
Currently we build the compressed version of the scripts from the source folder manually. That's dumb.
All that's really needed is a shell script that runs like the tools/devtools script in platform. (https://github.com/cashmusic/platform/blob/master/tools/devtools) It should scan the /source folder for all JS/CSS and send curl requests to compress everything it finds and replace/create counterparts in the /compressed folder.