commit | 53d80624c3b5a1bac425f18bf85c68ee2cedd9eb | [log] [tgz] |
---|---|---|
author | Sundar Ramamoorthy <sramamoorthy73@users.noreply.github.com> | Tue Jun 13 06:51:39 2017 -0700 |
committer | GitHub <noreply@github.com> | Tue Jun 13 06:51:39 2017 -0700 |
tree | c22d58c9791c93b79c1b2cb3601292f6f07283d5 | |
parent | 394df44ba448d700c93a61f1be6564fa67984b69 [diff] | |
parent | 20c9c107680f7d390f91a66d7243d2d0d716fcbc [diff] |
Merge pull request #24 from 30x/fix_cover_sh fix cover.sh to make it compatible with goobuntu
diff --git a/cover.sh b/cover.sh index 7c312e5..a378f75 100755 --- a/cover.sh +++ b/cover.sh
@@ -6,7 +6,7 @@ for d in $(go list ./... | grep -v vendor); do go test -coverprofile=profile.out -covermode=atomic $d if [ -f profile.out ]; then - tail +2 profile.out >> coverage.txt + tail -n +2 profile.out >> coverage.txt rm profile.out fi done