summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-06-03 05:43:47 +0800
committerLauris BH <lauris@nix.lv>2019-06-03 00:43:47 +0300
commit83b90e41999d30e4abb46f6bf0f1c3359cfd4d04 (patch)
tree4a15e9a42a850534a00346116da84153600a3027 /Makefile
parent8eba27c79257c6bc68cefbdffbb36d3596e6d3ee (diff)
downloadgitea-83b90e41999d30e4abb46f6bf0f1c3359cfd4d04.tar.gz
gitea-83b90e41999d30e4abb46f6bf0f1c3359cfd4d04.zip
Use vfsgen instead of go-bindata (#7080)
* use vfsgen instead of go-bindata * fix templates * fix fmt * vendor vsfgen
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cf1a645805..f175b95ae1 100644
--- a/Makefile
+++ b/Makefile
@@ -97,10 +97,7 @@ vet:
.PHONY: generate
generate:
- @hash go-bindata > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
- $(GO) get -u github.com/jteeuwen/go-bindata/go-bindata; \
- fi
- $(GO) generate $(PACKAGES)
+ GO111MODULE=on $(GO) generate $(PACKAGES)
.PHONY: generate-swagger
generate-swagger: