diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2019-10-29 17:05:45 +0100 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2019-10-29 17:05:45 +0100 |
| commit | 1ff86053ddef8de3247909434e0bd7000c060f2a (patch) | |
| tree | 13246906ebac398c89a4715c33b220975a17edf1 | |
| parent | afe18e86a7aa2248c69997ed941bcbe3e6b2a655 (diff) | |
| download | gofu-1ff86053ddef8de3247909434e0bd7000c060f2a.tar.gz | |
use correct GOPATH for `go list`
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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))) |
