Created
March 21, 2013 07:52
-
-
Save shinofara/5211371 to your computer and use it in GitHub Desktop.
google製のcss圧縮処理(Closure Stylesheets)を手軽に実行する方法 ref: http://qiita.com/items/15c399fa677c97ac989e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -O https://closure-stylesheets.googlecode.com/files/closure-stylesheets-20111230.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod a+x closure-stylesheets-20111230.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ln -s /usr/local/src/closure-stylesheets-20111230.jar /usr/local/lib/closure-stylesheets.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar /usr/local/lib/closure-stylesheets.jar aaa.css --output-file aaa.min.css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment