diff options
author | Mura Li <typeless@users.noreply.github.com> | 2019-08-29 04:18:15 +0800 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-08-28 22:18:15 +0200 |
commit | dd3ba9bb6be38e2a03a6e218b936e75ff554b080 (patch) | |
tree | a870e84c145615703be4c61ad59f77252b09ee27 /Makefile | |
parent | 13388258a4ef1593784e8daf97506575cc284f61 (diff) | |
download | gitea-dd3ba9bb6be38e2a03a6e218b936e75ff554b080.tar.gz gitea-dd3ba9bb6be38e2a03a6e218b936e75ff554b080.zip |
Fix make-generate using non-vendor packages (#8008)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ endif LDFLAGS := $(LDFLAGS) -X "main.MakeVersion=$(MAKE_VERSION)" -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)" -PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations/migration-test,$(filter-out code.gitea.io/gitea/integrations,$(shell $(GO) list ./... | grep -v /vendor/))) +PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations/migration-test,$(filter-out code.gitea.io/gitea/integrations,$(shell GO111MODULE=on $(GO) list -mod=vendor ./... | grep -v /vendor/))) SOURCES ?= $(shell find . -name "*.go" -type f) TAGS ?= |