From a2d91119d4267881c4d2c098e6620f48df50936f Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Thu, 16 Jun 2022 16:13:48 +0200 Subject: [PATCH] make localstack-stop target (#1593) --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 978097529..e818e4f98 100644 --- a/Makefile +++ b/Makefile @@ -173,13 +173,17 @@ testclean: bats-clean .PHONY: test test: export AWS_ENDPOINT_FORCE=http://localhost:4566 test: goversion - @echo NOTE: You need Docker, docker-compose and run \"make localstack\" in a separate shell + @echo 'NOTE: You need Docker, docker-compose and run "make localstack" in a separate shell ("make localstack-stop" to terminate it)' $(GOTEST) $(LD_OPTS) ./... .PHONY: localstack localstack: docker-compose -f tests/localstack/docker-compose.yml up +.PHONY: localstack-stop +localstack-stop: + docker-compose -f tests/localstack/docker-compose.yml down + package-common: @echo "Building Release to dir $(RELDIR)" @$(MKDIR) $(RELDIR)/cmd/crowdsec