chore: add target to check containers status

This commit is contained in:
Joao P Dubas 2022-05-01 22:04:31 +00:00
parent 80ac025b3d
commit 337ec87a7a

View File

@ -36,6 +36,10 @@ compose_up: ## start containers for this service
compose_test: ## run tests in containers compose_test: ## run tests in containers
@$(COMPOSE) run -e MIX_ENV=test --entrypoint make app test @$(COMPOSE) run -e MIX_ENV=test --entrypoint make app test
.PHONY: compose_ps
compose_ps: ## status of containers
@$(COMPOSE) ps
.PHONY: help .PHONY: help
help: help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'