Update build.sh
This commit is contained in:
11
build.sh
11
build.sh
@@ -75,6 +75,14 @@ do
|
|||||||
|
|
||||||
action=Copying...
|
action=Copying...
|
||||||
|
|
||||||
|
elif [ "$x" == 'clean' ]
|
||||||
|
then
|
||||||
|
echo -e "$green"Cleaning...
|
||||||
|
|
||||||
|
rm -R target
|
||||||
|
|
||||||
|
break
|
||||||
|
|
||||||
else
|
else
|
||||||
echo -e "$green"Usage:"$cyan" build.sh [OPTIONS] [COMMAND]
|
echo -e "$green"Usage:"$cyan" build.sh [OPTIONS] [COMMAND]
|
||||||
echo
|
echo
|
||||||
@@ -85,6 +93,7 @@ do
|
|||||||
echo ' inflate Inflate the HTML source'
|
echo ' inflate Inflate the HTML source'
|
||||||
echo ' style Compile SCSS to CSS'
|
echo ' style Compile SCSS to CSS'
|
||||||
echo ' copy Copy assets to target'
|
echo ' copy Copy assets to target'
|
||||||
|
echo ' clean Wipe the target dir'
|
||||||
|
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
@@ -102,3 +111,5 @@ do
|
|||||||
eval "$cmd $src $target"
|
eval "$cmd $src $target"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo -e "$green"Done.
|
||||||
|
|||||||
Reference in New Issue
Block a user