aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2019-10-29 17:05:45 +0100
committerStefan Majewsky <majewsky@gmx.net>2019-10-29 17:05:45 +0100
commit1ff86053ddef8de3247909434e0bd7000c060f2a (patch)
tree13246906ebac398c89a4715c33b220975a17edf1 /Makefile
parentafe18e86a7aa2248c69997ed941bcbe3e6b2a655 (diff)
downloadgofu-1ff86053ddef8de3247909434e0bd7000c060f2a.tar.gz
use correct GOPATH for `go list`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8d9903d..733d6ee 100644
--- a/Makefile
+++ b/Makefile
@@ -24,11 +24,11 @@ install: FORCE all
for APPLET in $(APPLETS); do ln -s gofu "$(DESTDIR)$(PREFIX)/bin/$${APPLET}"; done
# which packages to test with static checkers?
-GO_ALLPKGS := $(PKG) $(shell go list $(PKG)/pkg/...)
+GO_ALLPKGS := $(PKG) $(shell $(GO) list $(PKG)/pkg/...)
# which packages to test with `go test`?
-GO_TESTPKGS := $(shell go list -f '{{if .TestGoFiles}}{{.ImportPath}}{{end}}' $(PKG)/pkg/...)
+GO_TESTPKGS := $(shell $(GO) list -f '{{if .TestGoFiles}}{{.ImportPath}}{{end}}' $(PKG)/pkg/...)
# which packages to measure coverage for?
-GO_COVERPKGS := $(shell go list $(PKG)/pkg/...)
+GO_COVERPKGS := $(shell $(GO) list $(PKG)/pkg/...)
# output files from `go test`
GO_COVERFILES := $(patsubst %,build/%.cover.out,$(subst /,_,$(GO_TESTPKGS)))