Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (8 sloc) 0.515 kb
#!/bin/sh
type -P cleancss &>/dev/null && continue || { echo "Install clean-css (https://github.com/GoalSmashers/clean-css) in order to minify CSS "; exit 1; }
type -P uglifyjs &>/dev/null && continue || { echo "Install UglifyJS (https://github.com/mishoo/UglifyJS) in order to minify JS"; exit 1; }
echo "Dependencies met. Minifying CSS \n"
cleancss css/admin.css > css/admin.min.css
echo "CSS Minified. Now minifiying JS \n"
uglifyjs js/admin.js > js/admin.min.js
echo "All Done. Have a great day \n"
Jump to Line
Something went wrong with that request. Please try again.