build(Makefile): clean .cache

This commit is contained in:
Sarah Vaupel 2024-09-03 00:43:03 +02:00
parent 3fcb7d2b4e
commit de6811372b

View File

@ -14,7 +14,7 @@ all:
.PHONY: clean
clean:
rm -rf node_modules .npm assets/icons well-known .well-known-cache static/
rm -rf node_modules .npm .cache assets/icons well-known static/
rm -rf .stack .stack-work .stack-work-build .stack-work-run .stack-work-test .stack-work-doc
rm -rf bin/
@ -119,9 +119,12 @@ frontend-%: node_modules well-known --frontend-%;
--frontend-test-watch: WATCH=--single-run false
--frontend-test-watch: --frontend-test
node_modules: package.json
node_modules: package.json package-lock.json
npm ci --cache .npm --prefer-offline
package-lock.json: package.json
npm install --cache .npm --prefer-offline
assets/icons: node_modules
./utils/renamer.pl node_modules/@fortawesome/fontawesome-free/svgs/solid utils/rename-fa.json assets/icons/fradrive
./utils/renamer.pl node_modules/@fortawesome/fontawesome-free/svgs/regular utils/rename-fa.json assets/icons/fradrive