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 10:48:23 +08:00
parent 3659ecb147
commit 713b2ea3b3

View File

@ -9,10 +9,7 @@ install:
- go get -u github.com/gordonklaus/ineffassign - go get -u github.com/gordonklaus/ineffassign
script: script:
- pwd - pwd
- | #mkdir - test ! -d $(dirname `dirname $(pwd)`)/beego/bee && mkdir -p $(dirname `dirname $(pwd)`)/beego/bee
if [[ ! -d $(dirname `dirname $(pwd)`)/beego/bee ]] ; then
mkdir -p $(dirname `dirname $(pwd)`)/beego/bee
fi
- 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
- 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