From a1b648fc805dd84225515a771ecdfb582f41ec79 Mon Sep 17 00:00:00 2001 From: wea_ondara Date: Sat, 25 Nov 2023 17:21:46 +0100 Subject: [PATCH] build.sh: also delete compiled files from cache dir --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 93131e9..3744a73 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,11 @@ cd "$(dirname "$0")" mkdir dist +mkdir dist/cache + +# clean (cd dist && (ls | grep -v "cache" | grep -v "config.json" | xargs rm -r)) +(cd dist/cache && (ls | grep -v ".json" | xargs rm -r)) # build (cd backend && npm i && npm run build) || exit 1