export GOBIN (#13752)

* export GOBIN

* Add comment
This commit is contained in:
Agniva De Sarker
2020-01-27 13:34:35 +05:30
committed by GitHub
parent 30061b2285
commit f0934361a1
+3 -1
View File
@@ -47,7 +47,9 @@ endif
# Go Flags
GOFLAGS ?= $(GOFLAGS:) -mod=vendor
GOBIN ?= $(PWD)/bin
# We need to export GOBIN to allow it to be set
# for processes spawned from the Makefile
export GOBIN ?= $(PWD)/bin
GO=go
DELVE=dlv
LDFLAGS += -X "github.com/mattermost/mattermost-server/v5/model.BuildNumber=$(BUILD_NUMBER)"