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

下载依赖

This commit is contained in:
qiantao 2020-06-03 11:33:26 +08:00
parent 713b2ea3b3
commit f2d1818728

View File

@ -12,9 +12,11 @@ script:
- test ! -d $(dirname `dirname $(pwd)`)/beego/bee && mkdir -p $(dirname `dirname $(pwd)`)/beego/bee - test ! -d $(dirname `dirname $(pwd)`)/beego/bee && mkdir -p $(dirname `dirname $(pwd)`)/beego/bee
- 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
- 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/)
- structcheck $(go list ./... | grep -v /vendor/) - structcheck $(go list ./... | grep -v /vendor/)
- staticcheck -ignore "$(cat staticcheck.ignore)" $(go list ./... | grep -v /vendor/) - staticcheck $(go list ./... | grep -v /vendor/)
- unconvert $(go list ./... | grep -v /vendor/) - unconvert $(go list ./... | grep -v /vendor/)
- ineffassign . - ineffassign .