Skip to content

Commit 51e1316

Browse files
committed
Revert "fix errors when Limes is built outside GOPATH"
This reverts commit 6c1fd2c, because it breaks normal operation due to <golang/go#17451>.
1 parent 6e99fb6 commit 51e1316

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ build/limes: FORCE
1313
$(GO) install $(GO_BUILDFLAGS) -ldflags '$(GO_LDFLAGS)' '$(PKG)'
1414

1515
# which packages to test with static checkers?
16-
GO_ALLPKGS := $(PKG) $(shell $(GO) list $(PKG)/pkg/...)
16+
GO_ALLPKGS := $(PKG) $(shell go list $(PKG)/pkg/...)
1717
# which packages to test with `go test`?
18-
GO_TESTPKGS := $(shell $(GO) list -f '{{if .TestGoFiles}}{{.ImportPath}}{{end}}' $(PKG)/pkg/...)
18+
GO_TESTPKGS := $(shell go list -f '{{if .TestGoFiles}}{{.ImportPath}}{{end}}' $(PKG)/pkg/...)
1919
# which packages to measure coverage for?
20-
GO_COVERPKGS := $(shell $(GO) list $(PKG)/pkg/... | grep -v plugins)
20+
GO_COVERPKGS := $(shell go list $(PKG)/pkg/... | grep -v plugins)
2121
# output files from `go test`
2222
GO_COVERFILES := $(patsubst %,build/%.cover.out,$(subst /,_,$(GO_TESTPKGS)))
2323

0 commit comments

Comments
 (0)