chore: add target to check containers status
This commit is contained in:
parent
80ac025b3d
commit
337ec87a7a
4
Makefile
4
Makefile
@ -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}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user