diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2022-05-04 20:24:41 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2022-05-04 20:24:41 +0300 |
commit | cc4f55d908872fed16d7651c87a00a8dcb6aed24 (patch) | |
tree | 38b30b624a1471a236dab374c47de90bfe96c813 /Makefile.build.mk | |
parent | 40528a5463f155f70d33dac3573199c0ba3e599d (diff) |
Remove local .GOPATH
Diffstat (limited to 'Makefile.build.mk')
-rw-r--r-- | Makefile.build.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.build.mk b/Makefile.build.mk index c576e202..c147e16f 100644 --- a/Makefile.build.mk +++ b/Makefile.build.mk @@ -16,13 +16,13 @@ WITHOUT_BUILD_ID ?= all: gitlab-pages -generate-mocks: .GOPATH/.ok +generate-mocks: $Q go run github.com/golang/mock/mockgen@$(MOCKGEN_VERSION) -source=internal/interface.go -destination=internal/handlers/mock/handler_mock.go -package=mock $Q go run github.com/golang/mock/mockgen@$(MOCKGEN_VERSION) -source=internal/source/source.go -destination=internal/source/mock/source_mock.go -package=mock $Q go run github.com/golang/mock/mockgen@$(MOCKGEN_VERSION) -source=internal/source/gitlab/mock/client_stub.go -destination=internal/source/gitlab/mock/client_mock.go -package=mock $Q go run github.com/golang/mock/mockgen@$(MOCKGEN_VERSION) -source=internal/domain/resolver.go -destination=internal/domain/mock/resolver_mock.go -package=mock -build: .GOPATH/.ok +build: $Q GOBIN=$(BINDIR) go install $(if $V,-v) -ldflags="$(VERSION_FLAGS)" -tags "${GO_BUILD_TAGS}" -buildmode exe $(IMPORT_PATH) ifndef WITHOUT_BUILD_ID GO_BUILD_ID=$$( go tool buildid $(BINDIR)/gitlab-pages ) && \ |