build(Makefile): update help messages
This commit is contained in:
parent
57bb495c82
commit
8926f71e96
7
Makefile
7
Makefile
@ -37,8 +37,7 @@ 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 avoid
|
# If you want to do so anyway please use 'make -- --target' to avoid '--target' being 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:
|
||||||
@ -57,7 +56,7 @@ help:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
# HELP: remove all compilation results in the directory but leave containers and images unharmed
|
# HELP: stop all running containers and remove all compilation results in the directory (but leave images including dependencies unharmed)
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) stop
|
$(MAKE) stop
|
||||||
-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
|
||||||
@ -65,7 +64,7 @@ clean:
|
|||||||
-rm -rf bin .Dockerfile develop
|
-rm -rf bin .Dockerfile develop
|
||||||
-$(CONTAINER_COMMAND) container prune --force
|
-$(CONTAINER_COMMAND) container prune --force
|
||||||
.PHONY: clean-all
|
.PHONY: clean-all
|
||||||
# HELP: like clean but with container and image prune
|
# HELP: like clean but with full container, image, and volume prune
|
||||||
clean-all: clean
|
clean-all: clean
|
||||||
-rm -rf .stack
|
-rm -rf .stack
|
||||||
-$(CONTAINER_COMMAND) system prune --all --force --volumes
|
-$(CONTAINER_COMMAND) system prune --all --force --volumes
|
||||||
|
|||||||
Reference in New Issue
Block a user