Skip to content

Instantly share code, notes, and snippets.

@shinofara
Created March 21, 2013 08:09
Show Gist options
  • Save shinofara/5211453 to your computer and use it in GitHub Desktop.
Save shinofara/5211453 to your computer and use it in GitHub Desktop.
google製のjavascript圧縮処理(Closure compiler)を導入 ref: http://qiita.com/items/38e313f0ddb3a673994e
cd /usr/local/src/
curl -O https://closure-compiler.googlecode.com/files/compiler-20130227.tar.gz
curl -O https://closure-compiler.googlecode.com/files/compiler-latest.tar.gz
tar zxf compiler-20130227.tar.gz -C /usr/local/lib/
chmod 755 /usr/local/lib/compiler.jar
java -jar /usr/local/lib/compiler.jar --js=aaa.js --js_output_file=aaa.min.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment