This commit is contained in:
Liang Ding 2018-03-13 12:18:17 +08:00
parent b80a132866
commit 1fcc40af30
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ set -e
echo "mode: count" > profile.cov
# Standard go tooling behavior is to ignore dirs with leading underscors
for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -not -path './vendor' -type d);
for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -not -path './vendor*' -type d);
do
if ls $dir/*.go &> /dev/null; then
go test -covermode=count -coverprofile=$dir/profile.tmp $dir