Browse Source

Add minification script

bootstrap-3
Skylar Ittner 4 years ago
parent
commit
639192478e
  1. 6
      minify.sh

6
minify.sh

@ -0,0 +1,6 @@
#!/bin/bash
command -v yui-compressor >/dev/null 2>&1 || { echo >&2 "Please install yui-compressor and try again."; exit 1; }
echo "Compressing CSS..."
echo "$(head -n 5 material-color.css)" > material-color.min.css
echo "$(yui-compressor material-color.css)" >> material-color.min.css
echo "Done."
Loading…
Cancel
Save