Class | Juicer::Install::ClosureCompilerInstaller |
In: |
lib/juicer/install/closure_compiler_installer.rb
|
Parent: | Base |
Install the Closure Compiler. Downloads the distribution and keeps the jar file inside PATH/closure_compiler/bin and the README in PATH/closere_compiler/yyyymmdd/ where yyyymmdd is the version, most recent if not specified otherwise.
Path defaults to environment variable $JUICER_HOME or default Juicer home
Uninstalls the given version of Closure Compiler. If no location is provided the environment variable $JUICER_HOME or Juicers default home directory is used.
If no version is provided the most recent version is assumed.
If there are no more files left in INSTALLATION_PATH/closure_compiler, the whole directory is removed.