You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
299 B
Bash
7 lines
299 B
Bash
#!/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."
|