Counting main package in tests

This commit is contained in:
Sarah Jamie Lewis 2016-11-08 14:42:58 -08:00
parent 779dabed9c
commit 13b2f9111d
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
set -e
pwd
go test -coverprofile=cover.out -v .
go test -coverprofile=main.cover.out -v .
go test -coverprofile=utils.cover.out -v ./utils
echo "mode: set" > coverage.out && cat *.cover.out | grep -v mode: | sort -r | \
awk '{if($1 != last) {print $0;last=$1}}' >> coverage.out