Compare commits

...

3 Commits

View File

@ -57,9 +57,11 @@ help:
.PHONY: clean
# HELP: remove all compilation results in the directory but leave containers and images unharmed
clean:
$(MAKE) stop
-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 bin .Dockerfile develop
-$(CONTAINER_COMMAND) container prune --force
.PHONY: clean-all
# HELP: like clean but with container and image prune
clean-all: clean
@ -112,7 +114,7 @@ lint: lint-frontend lint-backend;
.PHONY: test
# HELP: test frontend, backend, and check internationalization
test: test-frontend test-backend i18n-check;
test: start-database test-frontend test-backend i18n-check;
##### UNIFIED FRONTEND/BACKEND TARGETS #####
############################################
@ -352,7 +354,8 @@ stop:
rm -rf develop
.PHONY: stop-%
# HELP(stop-{database,memcached,minio,backend,frontend,hoogle}): stop all currently running develop instances of a given type
stop-%: --stop-%
stop-%:
$(SET_DEVELOP)
rm -rf $(DEVELOP)/$*
stop-container-by-file:
rm $(CONTAINER_FILE)