mirror of
https://github.com/mariocandela/beelzebub.git
synced 2025-07-01 18:47:26 -04:00
24 lines
396 B
Makefile
24 lines
396 B
Makefile
![]() |
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.integration:
|
||
|
INTEGRATION=1 go test ./...
|
||
|
|
||
|
test.integration.verbose:
|
||
|
INTEGRATION=1 go test ./... -v
|