diff --git a/Makefile b/Makefile index 9e7f75f..220ebf4 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,15 @@ compose_ps: ## status of containers compose_remote: ## connect to remote node @$(COMPOSE) exec app ./priv/docker/service/docker-remote.sh +.PHONY: compose_test +compose_test: ## execute test on docker environment + @$(COMPOSE) --profile test run --rm test + +.PHONY: compose_test_shell +compose_test_shell: ## enter test environment shell + @$(COMPOSE) --profile test run --rm --entrypoint bash test -c bash + .PHONY: help help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' +