build(Makefile): only remove .stack on clean-all

This commit is contained in:
Sarah Vaupel 2024-10-13 01:36:16 +02:00
parent 9e3073ed6c
commit 897b6686fe

View File

@ -55,10 +55,11 @@ help:
# HELP: remove all compilation results in the directory but leave containers and images unharmed
clean:
rm -rf node_modules .npm .cache assets/icons assets/favicons static well-known
rm -rf .stack .stack-work .stack-work-build .stack-work-run .stack-work-test .stack-work-doc
rm -rf .stack-work .stack-work-build .stack-work-run .stack-work-test .stack-work-doc
rm -rf bin/ .Dockerfile develop/
# HELP: like clean but with container and image prune
clean-all: clean
rm -rf .stack
$(CONTAINER_COMMAND) system prune --all --force --volumes
$(CONTAINER_COMMAND) image prune --all --force
$(CONTAINER_COMMAND) volume prune --force