1 Star 0 Fork 15

doris123 / GoCity

forked from Gitee 极速下载 / GoCity 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 891 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rodrigo Brito 提交于 2018-11-02 12:30 . Include travis integration
dev-dependencies:
go get -u github.com/canthefason/go-watcher
go install github.com/canthefason/go-watcher/cmd/watcher
watcher: dev-dependencies
GOOGLE_APPLICATION_CREDENTIALS=`pwd`/gcs-credentials.json watcher # github.com/canthefason/go-watcher
mock:
go get github.com/vektra/mockery/...
mockery -output testdata/mocks -dir ./lib -all
mockery -output testdata/mocks -dir ./analyzer -all
run:
docker run -ti -v`pwd`:/go/src/github.com/rodrigo-brito/gocity -e "GOOGLE_APPLICATION_CREDENTIALS=/go/src/github.com/rodrigo-brito/gocity/gcs-credentials.json" -p80:4000 -d -w /go/src/github.com/rodrigo-brito/gocity golang go run main.go
test:
echo "" > coverage.txt
for d in $(shell go list ./... | grep -v vendor); do \
go test -race -v -coverprofile=profile.out -covermode=atomic $$d || exit 1; \
[ -f profile.out ] && cat profile.out >> coverage.txt && rm profile.out; \
done
1
https://gitee.com/doris12345/GoCity.git
git@gitee.com:doris12345/GoCity.git
doris12345
GoCity
GoCity
master

搜索帮助