build(Makefile): work on clean
This commit is contained in:
parent
4956c6efe2
commit
9b16abc489
15
Makefile
15
Makefile
@ -33,8 +33,8 @@ export LOGSIZE ?= 1024
|
|||||||
# HELP HEADER START
|
# HELP HEADER START
|
||||||
# To see the definition of all available targets, take a look into the Makefile.
|
# To see the definition of all available targets, take a look into the Makefile.
|
||||||
# Targets starting with '--' are not meant to be directly called.
|
# Targets starting with '--' are not meant to be directly called.
|
||||||
# If you want to do so anyway please use 'make -- [--target]' to not
|
# If you want to do so anyway please use 'make -- [--target]' to avoid
|
||||||
# have '[--target]' to be treated as option to 'make'.
|
# '[--target]' being treated as option to 'make'.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Targets meant to be used by humans are:
|
# Targets meant to be used by humans are:
|
||||||
@ -55,14 +55,13 @@ help:
|
|||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
# HELP: remove all compilation results in the directory but leave containers and images unharmed
|
# HELP: remove all compilation results in the directory but leave containers and images unharmed
|
||||||
clean:
|
clean:
|
||||||
-rm -rf node_modules .npm .cache assets/icons assets/favicons static well-known || :
|
-rm -rf node_modules .npm .cache assets/icons assets/favicons static well-known
|
||||||
-rm -rf .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 || :
|
-rm -rf bin .Dockerfile develop
|
||||||
.PHONY: clean-all
|
.PHONY: clean-all
|
||||||
# HELP: like clean but with container and image prune
|
# HELP: like clean but with container and image prune
|
||||||
clean-all:
|
clean-all: clean
|
||||||
$(MAKE) clean
|
-rm -rf .stack
|
||||||
-rm -rf .stack || :
|
|
||||||
-$(CONTAINER_COMMAND) system prune --all --force --volumes
|
-$(CONTAINER_COMMAND) system prune --all --force --volumes
|
||||||
-$(CONTAINER_COMMAND) image prune --all --force
|
-$(CONTAINER_COMMAND) image prune --all --force
|
||||||
-$(CONTAINER_COMMAND) volume prune --force
|
-$(CONTAINER_COMMAND) volume prune --force
|
||||||
|
|||||||
Reference in New Issue
Block a user