Very simple bash script which compresses javascript files with Google Closure Compiler and then make a single file of them. Reduce file sizes and save bandwidth with just one simple command.
Files you want to compress and add to the resulting file are separated with spaces. Run next command in terminal:
$ ./compressjs.sh jquery-ui-1.8.16.custom.min.js chat-widget.js templ.min.js
Sure you can use wildcards in file names:
$ ./compressjs.sh scripts/*.js