copy code to beego/bee

This commit is contained in:
qiantao 2020-06-03 09:46:48 +08:00
parent 34e4af2f9b
commit a3fe199f71
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,9 @@ install:
- go get -u github.com/mdempsky/unconvert
- go get -u github.com/gordonklaus/ineffassign
script:
- pwd
- [ ! -d $(dirname `dirname $(pwd)`)/beego/bee] && mkdir -p $(dirname `dirname $(pwd)`)/beego/bee
- cp -rf ./ $(dirname `dirname $(pwd)`)/beego/bee
- find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
- go vet $(go list ./... | grep -v /vendor/)
- structcheck $(go list ./... | grep -v /vendor/)