Skip to content

Commit 136c2c1

Browse files
committed
hack/make/go: update go.mk
1 parent 43adc05 commit 136c2c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/make/go.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PKG := $(subst $(GO_PATH)/src/,,$(CURDIR))
1212
GO_PKGS := $(shell go list ./... | grep -v -e '.pb.go')
1313
GO_APP_PKGS := $(shell go list -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}{{.ImportPath}}{{end}}' ${PKG}/...)
1414
GO_TEST_PKGS := $(shell go list -f='{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...)
15-
GO_VENDOR_PKGS := $(shell go list -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}./vendor/{{.ImportPath}}{{end}}' ./vendor/...)
15+
GO_VENDOR_PKGS := $(shell go list -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}./vendor/{{.ImportPath}}{{end}}' -mod=vendor ./vendor/...)
1616

1717
GO_TEST ?= go test
1818
ifneq ($(shell command -v gotest),)

0 commit comments

Comments
 (0)