build.sh: actually delete dist folder contents
This commit is contained in:
2
build.sh
2
build.sh
@@ -2,7 +2,7 @@
|
|||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
mkdir dist
|
mkdir dist
|
||||||
(cd dist && (ls | grep -v "cache" | grep -v "config.json" | xargs echo "rm -rf"))
|
(cd dist && (ls | grep -v "cache" | grep -v "config.json" | xargs rm -r))
|
||||||
|
|
||||||
# build
|
# build
|
||||||
(cd backend && npm i && npm run build) || exit 1
|
(cd backend && npm i && npm run build) || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user