Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2020-08-10 18:05:32 +0300
committerJacob Vosmaer <jacob@gitlab.com>2020-08-10 18:05:32 +0300
commitba25c32eaa04e505bfd546499573ebeb03fe8bd0 (patch)
tree1d84710f207c847395d04d40c3520170803c4742 /Makefile.build.mk
parent017cc43b737f545291509373e75994a439038e6c (diff)
Control go install output with GOBIN
Diffstat (limited to 'Makefile.build.mk')
-rw-r--r--Makefile.build.mk2
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