summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-07-07 11:00:41 +0800
committertechknowlogick <techknowlogick@gitea.io>2019-07-06 23:00:41 -0400
commit87404d7c0b0ff42be73398c86f5356959dc7b632 (patch)
treea712de060c38c049e4ce418337158ea357fa42cc /Makefile
parentf369788347167a47a8fc162e086b92048ff0a43f (diff)
downloadgitea-87404d7c0b0ff42be73398c86f5356959dc7b632.tar.gz
gitea-87404d7c0b0ff42be73398c86f5356959dc7b632.zip
Use vendors when go generate (#7340)
* use vendors when go generate * update docs about golang minimal requirement from 1.9 to 1.11 * fix build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 796a0e3b53..2c6a6ef72e 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,7 @@ vet:
.PHONY: generate
generate:
- GO111MODULE=on $(GO) generate $(PACKAGES)
+ GO111MODULE=on $(GO) generate -mod=vendor $(PACKAGES)
.PHONY: generate-swagger
generate-swagger: