From cd5c7037e5d7dfc3124f99d36177a14e253ee0df Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Mon, 9 Mar 2020 07:40:45 +0900 Subject: [PATCH] hack/make/go: update go.mk --- hack/make/go.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/make/go.mk b/hack/make/go.mk index 1209a34..dea7676 100644 --- a/hack/make/go.mk +++ b/hack/make/go.mk @@ -12,7 +12,7 @@ PKG := $(subst $(GO_PATH)/src/,,$(CURDIR)) GO_PKGS := $(shell go list ./... | grep -v -e '.pb.go') GO_APP_PKGS := $(shell go list -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}{{.ImportPath}}{{end}}' ${PKG}/...) GO_TEST_PKGS := $(shell go list -f='{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...) -GO_VENDOR_PKGS := $(shell go list -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}./vendor/{{.ImportPath}}{{end}}' ./vendor/...) +GO_VENDOR_PKGS := $(shell go list -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}./vendor/{{.ImportPath}}{{end}}' -mod=vendor ./vendor/...) GO_TEST ?= go test ifneq ($(shell command -v gotest),)