summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan <jonfritz@gmail.com>2017-10-30 16:37:50 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2017-10-30 16:37:50 -0400
commitb446d0aa0aa2bd3d87028b0543752eb539507481 (patch)
treeff8920399259099c5c36f81d8f6080be1833b6c9 /Makefile
parent09c5f5e2eacb9705f5675c51493776c5618e0716 (diff)
downloadchat-b446d0aa0aa2bd3d87028b0543752eb539507481.tar.gz
chat-b446d0aa0aa2bd3d87028b0543752eb539507481.tar.bz2
chat-b446d0aa0aa2bd3d87028b0543752eb539507481.zip
Fixed GOPATH in makefile to prevent make mock-store from rewriting mattermost-server imports (#7743)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 60ca5b23c..4b0dad504 100644
--- a/Makefile
+++ b/Makefile
@@ -273,7 +273,7 @@ gofmt:
store-mocks:
go get github.com/vektra/mockery/...
- $(shell go env GOPATH)/bin/mockery -dir store -all -output store/storetest/mocks -note 'Regenerate this file using `make store-mocks`.'
+ GOPATH=$(shell go env GOPATH) $(shell go env GOPATH)/bin/mockery -dir store -all -output store/storetest/mocks -note 'Regenerate this file using `make store-mocks`.'
check-licenses:
./scripts/license-check.sh $(TE_PACKAGES) $(EE_PACKAGES)