Class | Juicer::Install::YuiCompressorInstaller |
In: |
lib/juicer/install/yui_compressor_installer.rb
|
Parent: | Base |
Install the Yui Compressor. Downloads the distribution and keeps the jar file inside PATH/yui_compressor/bin and the README and CHANGELOG in PATH/yui_compressor/x.y.z/ where x.y.z 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 YUI Compressor. 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/yui_compressor, the whole directory is removed.