chore(Makefile): clean new stack root (.stack/) on clean too

This commit is contained in:
Sarah Vaupel 2024-08-18 04:47:09 +02:00
parent 754f23a449
commit e0b2b69fd6

View File

@ -9,6 +9,12 @@ help:
all:
@echo "TODO"
.PHONY: clean
clean:
rm -rf node_modules .npm assets/icons well-known .well-known-cache
rm -rf .stack .stack-work .stack-work-build .stack-work-run .stack-work-test .stack-work-doc
rm -rf bin/
.PHONY: build
build: frontend-build backend-build
@ -132,13 +138,6 @@ well-known/.well-known:
# @echo '@fortawesome:registry=https://npm.fontawesome.com/' > .npmrc
# @echo "//npm.fontawesome.com/:_authToken=$(FONTAWESOME_NPM_AUTH_TOKEN)" >> .npmrc
.PHONY: clean
clean:
rm -rf node_modules .npm assets/icons well-known .well-known-cache
rm -rf .stack-work .stack-work-build .stack-work-run .stack-work-test .stack-work-doc
rm -rf bin/
%.lock:
[ -e $@ ] || touch $@
flock -en $@ true