diff options
Diffstat (limited to 'Makefile.build.mk')
-rw-r--r-- | Makefile.build.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.build.mk b/Makefile.build.mk index 9cfcf69b..10a1a80f 100644 --- a/Makefile.build.mk +++ b/Makefile.build.mk @@ -1,5 +1,7 @@ GOLANGCI_LINT_VERSION := v1.27.0 # version used by $GOLANGCI_LINT_IMAGE +GO_BUILD_TAGS := continuous_profiler_stackdriver + .PHONY: all setup generate-mocks build clean all: gitlab-pages @@ -13,7 +15,7 @@ generate-mocks: .GOPATH/.ok $Q bin/mockgen -source=internal/interface.go -destination=internal/mocks/mocks.go -package=mocks build: .GOPATH/.ok - $Q go install $(if $V,-v) $(VERSION_FLAGS) -buildmode exe $(IMPORT_PATH) + $Q go install $(if $V,-v) $(VERSION_FLAGS) -tags "${GO_BUILD_TAGS}" -buildmode exe $(IMPORT_PATH) clean: $Q rm -rf bin .GOPATH gitlab-pages |