Skip to content

Commit

Permalink
Revert "Merge pull request #4 from stevepeak/patch-1"
Browse files Browse the repository at this point in the history
This reverts commit 1ff82e3, reversing
changes made to 08c106c.
  • Loading branch information
resal81 committed May 2, 2015
1 parent 00eb56e commit 9c75f26
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ set -e

for d in $(find ./* -maxdepth 10 -type d); do
if ls $d/*.go &> /dev/null; then
go test -covermode=atomic $d
go test -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
echo "$(pwd)"
cat profile.out | grep -v "mode: " >> coverage.txt
rm profile.out
fi
fi
done

0 comments on commit 9c75f26

Please sign in to comment.