From 337ec87a7a6dffb66f6af4832f167684e60b3619 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sun, 1 May 2022 22:04:31 +0000 Subject: [PATCH] chore: add target to check containers status --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index fde3e64..60d1db1 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,10 @@ compose_up: ## start containers for this service compose_test: ## run tests in containers @$(COMPOSE) run -e MIX_ENV=test --entrypoint make app test +.PHONY: compose_ps +compose_ps: ## status of containers + @$(COMPOSE) ps + .PHONY: help help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'