Skip to content

Instantly share code, notes, and snippets.

@takinbo
Created October 1, 2010 22:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takinbo/606974 to your computer and use it in GitHub Desktop.
Save takinbo/606974 to your computer and use it in GitHub Desktop.
#!/bin/sh
# uses Google's Closure Compiler - http://code.google.com/p/closure-compiler/
test -e $1 && java -jar /path/to/compiler.jar --js $1 --js_output_file `basename $1 .js`.min.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment