Fixed GOPATH in makefile to prevent make mock-store from rewriting mattermost-server imports (#7743)

This commit is contained in:
Jonathan
2017-10-30 16:37:50 -04:00
committed by Harrison Healey
parent 09c5f5e2ea
commit b446d0aa0a
+1 -1
View File
@@ -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)