diff options
author | Tony Blyler <tony@blyler.cc> | 2016-11-03 17:06:40 +0300 |
---|---|---|
committer | Tony Blyler <tony@blyler.cc> | 2016-11-03 17:06:40 +0300 |
commit | a5c76fdeb24d0f9a270da3c82145d2f54fd22215 (patch) | |
tree | aba1bd8cdcaab06e91508bd221f6aae9484b5ab3 | |
parent | e97f173f831f200839baac39e4990c937a662773 (diff) |
Update build.sh to have clean option
-rwxr-xr-x | build.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,4 +1,11 @@ #!/bin/bash + +if [ "${1}" = "clean" ]; then + echo 'Pruning static/css' + rm -R ./static/css/* + exit $? +fi + if ! which sass &> /dev/null; then echo 'sass is missing from PATH' 1>&2 exit 1 |