Files
beelzebub/Makefile

30 lines
578 B
Makefile
Raw Normal View History

DOCKER_COMPOSE := $(shell which docker-compose)
ifeq (${DOCKER_COMPOSE},)
DOCKER_COMPOSE = docker compose
endif
beelzebub.start:
${DOCKER_COMPOSE} build;
${DOCKER_COMPOSE} up -d;
beelzebub.stop:
${DOCKER_COMPOSE} down;
test.unit:
go test ./...
test.unit.verbose:
go test ./... -v
test.dependencies.start:
${DOCKER_COMPOSE} -f ./integration_test/docker-compose.yml up -d
test.dependencies.down:
${DOCKER_COMPOSE} -f ./integration_test/docker-compose.yml down
test.integration:
INTEGRATION=1 go test ./...
test.integration.verbose:
INTEGRATION=1 go test ./... -v