make localstack-stop target (#1593)

This commit is contained in:
mmetc 2022-06-16 16:13:48 +02:00 committed by GitHub
parent 10585bfecc
commit a2d91119d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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