From e617a37d4ae8f7f3651e94709f4dbfbf504122a9 Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Sun, 10 Nov 2019 14:41:16 -0800 Subject: [PATCH] help func for sass builder --- client/build.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/client/build.sh b/client/build.sh index 51510ca..b0ef2cc 100755 --- a/client/build.sh +++ b/client/build.sh @@ -14,9 +14,16 @@ build() { sass "$sass_dir/$1.scss" "$build_dir/$1.css" } +flags() { + echo '-b FILE : build css from sass' +} + +if [ -z "$1" ];then + flags +fi + while getopts ":b:" opt; do case $opt in - b) build;; + b) build $2;; esac done -#build login