build(Makefile): stop running containers before clean
This commit is contained in:
parent
8028a1f36b
commit
80a7bc4b08
2
Makefile
2
Makefile
@ -57,9 +57,11 @@ 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:
|
||||||
|
$(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
|
||||||
-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
|
||||||
|
-$(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 container and image prune
|
||||||
clean-all: clean
|
clean-all: clean
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user