1
0
mirror of https://github.com/beego/bee.git synced 2024-11-01 00:00:53 +00:00

export GO111MODULE="on"

This commit is contained in:
qiantao 2020-06-03 11:36:42 +08:00
parent f2d1818728
commit 9aac21a609

View File

@ -13,6 +13,7 @@ script:
- cp -rf ./ $(dirname `dirname $(pwd)`)/beego/bee - cp -rf ./ $(dirname `dirname $(pwd)`)/beego/bee
- cd $(dirname `dirname $(pwd)`)/beego/bee - cd $(dirname `dirname $(pwd)`)/beego/bee
- pwd - pwd
- export GO111MODULE="on"
- go mod download - go mod download
- find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s - find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
- go vet $(go list ./... | grep -v /vendor/) - go vet $(go list ./... | grep -v /vendor/)