From a5c76fdeb24d0f9a270da3c82145d2f54fd22215 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 3 Nov 2016 10:06:40 -0400 Subject: [PATCH] Update build.sh to have clean option --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.sh b/build.sh index fadee8c..eccbf12 100755 --- a/build.sh +++ b/build.sh @@ -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