1 Star 0 Fork 10

xingchong / GOIM

forked from Gitee 极速下载 / GOIM 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
codecov.sh 365 Bytes
一键复制 编辑 原始数据 按行查看 历史
Tony 提交于 2018-12-20 23:36 . exclude docs&scripts
#!/usr/bin/env bash
set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v cmd | grep -v docs | grep -v srcipts | grep -v benchmarks | grep -v examples); do
echo "testing for $d ..."
go test -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
done
1
https://gitee.com/xingchong/GOIM.git
git@gitee.com:xingchong/GOIM.git
xingchong
GOIM
GOIM
master

搜索帮助