Google Closure Compiler distributable
A package that contains a compiled
.jar version of the Google Closure Compiler and a special build that will strip out all
goog.debug calls, and more specifically logging.
Build Version SHA 579770a Oct-25-2013
npm install superstartup-closure-compiler --save-deps --silent
Pretty nothing atm, just two methods:
var compiler = require'superstartup-closure-compiler';var exec = require'child_process'exec;/* ... */// prepare the command for the CLIvar command = compilergetPath + ' ' + compilerOptions;// run the compiler commandexec command cb ;
You can find the two builds in the
You can also make your own build of the closure compiler by following these instructions:
git submodule initgit submodule update
cd google-closure-compilergit pull
build.xml. To use it, navigate to the same directory and type the command:
This will produce a jar file called "build/compiler.jar".
superstartup-compilerdirectory and issue the same build command:
cd superstartup-compilerant jar
After the build is successful, you can find the jar file in the `build` folder.
If you are having problems with
ant jar or the build produces errors, try a
ant clean first.