We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12faa45 commit 3a0d734Copy full SHA for 3a0d734
1 file changed
Makefile
@@ -28,6 +28,7 @@ RELEASE_LDFLAGS=-X '${GO_PKG}/pkg/config.BuildType=release'
28
RELEASE_GCFLAGS=-trimpath
29
30
# Build targets
31
+.PHONY: build build-debug build-release
32
build-debug:
33
go build ${GOFLAGS} -o ${BINARY_NAME} -gcflags="${DEBUG_GCFLAGS}" -ldflags "${COMMON_LDFLAGS} ${ENV_LDFLAGS} ${DEBUG_LDFLAGS}"
34
@@ -38,6 +39,7 @@ build-release:
38
39
build: build-release
40
41
# Install targets
42
+.PHONY: install install-debug install-release
43
install-debug:
44
go install -gcflags="${DEBUG_GCFLAGS}" -ldflags "${COMMON_LDFLAGS} ${ENV_LDFLAGS} ${DEBUG_LDFLAGS}" .
45
@@ -48,6 +50,7 @@ install-release:
48
50
install: install-release
49
51
52
# Test targets
53
+.PHONY: test test-unit test-integration test-e2e clean
54
test:
55
go test ./...
56
0 commit comments