From 1ff86053ddef8de3247909434e0bd7000c060f2a Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 29 Oct 2019 17:05:45 +0100 Subject: use correct GOPATH for `go list` --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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))) -- cgit v1.3.1