mirror of
https://github.com/mariocandela/beelzebub.git
synced 2025-07-01 18:47:26 -04:00
update: add .PHONY notation to Makefile commands (#45)
* update: add .PHONY notation to Makefile commands * patch: Makefile according to style guide Signed-off-by: Mario Candela <m4r10.php@gmail.com> --------- Signed-off-by: Mario Candela <m4r10.php@gmail.com> Co-authored-by: v0id <v0id@TheLab> Co-authored-by: Mario Candela <m4r10.php@gmail.com>
This commit is contained in:
10
Makefile
10
Makefile
@ -4,27 +4,35 @@ ifeq (${DOCKER_COMPOSE},)
|
||||
DOCKER_COMPOSE = docker compose
|
||||
endif
|
||||
|
||||
.PHONY: beelzebub.start
|
||||
beelzebub.start:
|
||||
${DOCKER_COMPOSE} build;
|
||||
${DOCKER_COMPOSE} up -d;
|
||||
|
||||
.PHONY: beelzebub.stop
|
||||
beelzebub.stop:
|
||||
${DOCKER_COMPOSE} down;
|
||||
|
||||
.PHONY: test.unit
|
||||
test.unit:
|
||||
go test ./...
|
||||
|
||||
.PHONY: test.unit.verbose
|
||||
test.unit.verbose:
|
||||
go test ./... -v
|
||||
|
||||
.PHONY: test.dependencies.start
|
||||
test.dependencies.start:
|
||||
${DOCKER_COMPOSE} -f ./integration_test/docker-compose.yml up -d
|
||||
|
||||
.PHONY: test.dependencies.down
|
||||
test.dependencies.down:
|
||||
${DOCKER_COMPOSE} -f ./integration_test/docker-compose.yml down
|
||||
|
||||
.PHONY: test.integration
|
||||
test.integration:
|
||||
INTEGRATION=1 go test ./...
|
||||
|
||||
.PHONY: test.integration.verbose
|
||||
test.integration.verbose:
|
||||
INTEGRATION=1 go test ./... -v
|
||||
INTEGRATION=1 go test ./... -v
|
||||
|
Reference in New Issue
Block a user