Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f5d4d2e41a
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.513 kb
#!/usr/bin/bash
cd static/assets/
# compress css
echo 'Compressing CSS'
cat css/*.css > css/styles.tmp
mv css/styles.tmp css/styles.css
java -jar ~/SRC/jar/yuicompressor.jar css/styles.css -o css/styles.css
# compress js
echo 'Compressing JS'
rm -f js/packaged.js
cat js/*.js > js/packaged.tmp
mv js/packaged.tmp js/packaged.js
java -jar ~/SRC/jar/yuicompressor.jar js/packaged.js -o js/packaged.js
# compress png
# echo 'Compressing PNGs'
# optipng -o7 image/*.png
# done!
echo 'Done compressing!'
cd ../../
Jump to Line
Something went wrong with that request. Please try again.