From 827fbfa87dcc1996a93f640e7599592036827fd4 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 26 Oct 2017 15:06:18 -0500 Subject: more robust mockery invocation (#7727) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0bd8c090e..60ca5b23c 100644 --- a/Makefile +++ b/Makefile @@ -273,7 +273,7 @@ gofmt: store-mocks: go get github.com/vektra/mockery/... - mockery -dir store -all -output store/storetest/mocks -note 'Regenerate this file using `make store-mocks`.' + $(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) -- cgit v1.2.3-1-g7c22