Simple shell script that compilers javascript code using Google's Closure Compiler
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Compress JS.tmCommand
JSCompiler.sh
README.md

README.md

JS-Compiler


This simple shell script contacts Google's Closure Compiler with curl then outputs the compiled code into a separate file. (ie. FILE-NAME.js > FILE-NAME.min.js)

In Use


To use the script just:

./JSCompiler.sh FILE.js

For Textmate

save the file
Command + Shift + C