Simple shell script that compilers javascript code using Google's Closure Compiler
Pull request Compare This branch is even with sourrust:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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