We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b46a421 + eabe46e commit 27a33afCopy full SHA for 27a33af
Makefile
@@ -42,6 +42,6 @@ node-watch:
42
@ENV=$(ENV) DOCKER_USER=$(DOCKER_USER) $(DOCKER_COMPOSE) run --rm -i nodejs "npm run watch"
43
44
docker-compose-check:
45
- @which $(DOCKER_COMPOSE) > /dev/null || (echo "Please install docker compose binary" && exit 1)
+ @$(DOCKER_COMPOSE) version >/dev/null 2>&1 || (echo "Please install docker compose binary or set DOCKER_COMPOSE=\"docker-compose\" for legacy binary" && exit 1)
46
@echo "You are using \"$(DOCKER_COMPOSE)\" binary"
47
@echo "Current version is \"$$($(DOCKER_COMPOSE) version)\""
0 commit comments