14 Star 51 Fork 12

Hprose / hprose-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.generate_coverage.sh 463 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hprose 提交于 2016-10-31 21:45 . Update to hprose 2.0
#!/bin/bash -e
# Requires installation of: `github.com/wadey/gocovmerge`
cd $GOPATH/src/github.com/hprose/hprose-golang
rm -rf ./cov
mkdir cov
i=0
for dir in $(find . -maxdepth 10 -not -path './examples/*' -not -path './.git*' -not -path '*/_test.go' -type d);
do
if ls ${dir}/*.go &> /dev/null; then
go test -v -covermode=atomic -coverprofile=./cov/$i.out ./${dir}
i=$((i+1))
fi
done
gocovmerge ./cov/*.out > full_cov.out
rm -rf ./cov
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/andot/hprose-go.git
git@gitee.com:andot/hprose-go.git
andot
hprose-go
hprose-go
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891