diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-06-03 05:43:47 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-06-03 00:43:47 +0300 |
commit | 83b90e41999d30e4abb46f6bf0f1c3359cfd4d04 (patch) | |
tree | 4a15e9a42a850534a00346116da84153600a3027 /Makefile | |
parent | 8eba27c79257c6bc68cefbdffbb36d3596e6d3ee (diff) | |
download | gitea-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-- | Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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: |