Skip to content

Commit b571886

Browse files
Merge pull request openshift#8 from cblecker/gomodule-make
Use gomodules in subshell
2 parents 3960064 + 2f186fd commit b571886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ gobuild: ## Build binary
6565

6666
.PHONY: gotest
6767
gotest:
68-
go test $(TESTOPTS) $(shell go list -mod=readonly -e ./... | egrep -v "/(vendor)/")
68+
go test $(TESTOPTS) $(shell GO111MODULE=$(GO111MODULE) go list -mod=readonly -e ./... | egrep -v "/(vendor)/")
6969

7070
.PHONY: envtest
7171
envtest: isclean

0 commit comments

Comments
 (0)