LoginSignup
3
3

More than 5 years have passed since last update.

google製のcss圧縮処理(Closure Stylesheets)を導入

Last updated at Posted at 2013-03-21

スーパーユーザ

sudo su

srcディレクトリへ移動

cd /usr/local/src/

最新のjarファイル取得

curl -O  https://closure-stylesheets.googlecode.com/files/closure-stylesheets-20111230.jar

実行権限付与

chmod 755 closure-stylesheets-20111230.jar

シンボリックリンク作成

ln -s /usr/local/src/closure-stylesheets-20111230.jar /usr/local/lib/closure-stylesheets.jar

minify化実行

java -jar /usr/local/lib/closure-stylesheets.jar aaa.css --output-file aaa.min.css

複数の場合
bash
java -jar /usr/local/lib/closure-stylesheets.jar aaa.css bbb.css ccc.css --output-file abc.mix.min.css

では、よいminify生活を

参考

参考ブログ
公式
ダウンロードリスト

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3