Fixed coverage command

This commit is contained in:
Junpei Tsuji
2018-05-18 11:21:17 +09:00
parent 8c93c4b714
commit d53311131e
3 changed files with 3 additions and 9 deletions

View File

@@ -12,10 +12,4 @@ test:
go test -v ./...
cover:
go test -v -coverprofile=coverage.txt -covermode=count ./appstore
go test -v -coverprofile=playstore.txt -covermode=count ./playstore
cat playstore.txt | grep -v "mode: count" >> coverage.txt
rm playstore.txt
go test -v -coverprofile=amazon.txt -covermode=count ./amazon
cat amazon.txt | grep -v "mode: count" >> coverage.txt
rm amazon.txt
go test -coverprofile=coverage.txt ./...