diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2020-08-10 18:05:32 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2020-08-10 18:05:32 +0300 |
commit | ba25c32eaa04e505bfd546499573ebeb03fe8bd0 (patch) | |
tree | 1d84710f207c847395d04d40c3520170803c4742 /Makefile.build.mk | |
parent | 017cc43b737f545291509373e75994a439038e6c (diff) |
Control go install output with GOBIN
Diffstat (limited to 'Makefile.build.mk')
-rw-r--r-- | Makefile.build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.build.mk b/Makefile.build.mk index 10a1a80f..2c9e9159 100644 --- a/Makefile.build.mk +++ b/Makefile.build.mk @@ -15,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) -tags "${GO_BUILD_TAGS}" -buildmode exe $(IMPORT_PATH) + $Q GOBIN=$(CURDIR)/bin go install $(if $V,-v) $(VERSION_FLAGS) -tags "${GO_BUILD_TAGS}" -buildmode exe $(IMPORT_PATH) clean: $Q rm -rf bin .GOPATH gitlab-pages |