From 45e1dc8d3e021931606c6f11874fad0d3c62c8e3 Mon Sep 17 00:00:00 2001 From: Cutieguwu Date: Sun, 3 Aug 2025 16:11:59 -0400 Subject: [PATCH] Update build.sh --- build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.sh b/build.sh index b96a108..db23018 100755 --- a/build.sh +++ b/build.sh @@ -75,6 +75,14 @@ do action=Copying... + elif [ "$x" == 'clean' ] + then + echo -e "$green"Cleaning... + + rm -R target + + break + else echo -e "$green"Usage:"$cyan" build.sh [OPTIONS] [COMMAND] echo @@ -85,6 +93,7 @@ do echo ' inflate Inflate the HTML source' echo ' style Compile SCSS to CSS' echo ' copy Copy assets to target' + echo ' clean Wipe the target dir' break fi @@ -102,3 +111,5 @@ do eval "$cmd $src $target" done done + +echo -e "$green"Done.