diff --git a/Makefile b/Makefile index 220ebf4..9034144 100644 --- a/Makefile +++ b/Makefile @@ -28,14 +28,6 @@ static_code_analysis: check_format credo dialyzer ## run static code analysis test: ## run tests @mix test --cover --trace --slowest 10 -.PHONY: compose_up -compose_up: ## start containers for this service - @$(COMPOSE) up -d - -.PHONY: compose_watch -compose_watch: ## start containers for this service watching for updates in filesystem - @$(COMPOSE) up -w - .PHONY: compose_database_create compose_database_create: @$(COMPOSE) run --rm --entrypoint mix app ecto.create @@ -63,7 +55,14 @@ compose_test: ## execute test on docker environment compose_test_shell: ## enter test environment shell @$(COMPOSE) --profile test run --rm --entrypoint bash test -c bash +.PHONY: compose_up +compose_up: ## start containers for this service + @$(COMPOSE) up -d + +.PHONY: compose_watch +compose_watch: ## start containers for this service watching for updates in filesystem + @$(COMPOSE) up -w + .PHONY: help help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' -