From 10d16d7dd1aa1bd39d450dd7247bcb1338c63606 Mon Sep 17 00:00:00 2001 From: Chris <88049272+V0idMatr1x@users.noreply.github.com> Date: Thu, 25 May 2023 08:30:40 -0500 Subject: [PATCH] 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 --------- Signed-off-by: Mario Candela Co-authored-by: v0id Co-authored-by: Mario Candela --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 52840b7..78700b0 100644 --- a/Makefile +++ b/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 \ No newline at end of file + INTEGRATION=1 go test ./... -v