Rename coverage file to "cover".

This commit is contained in:
Qi Xiao 2020-08-16 17:04:02 +01:00
parent 79973a4aa1
commit 37e36f61be
2 changed files with 3 additions and 5 deletions

3
.gitignore vendored
View File

@ -22,7 +22,6 @@ _testmain.go
*.exe
# Project specific
cover
elvish-coverage.dat
/cover
/_bin/
/elvish

View File

@ -23,9 +23,8 @@ test:
# Generate a basic test coverage report. This will open the report in your
# browser. See also https://codecov.io/gh/elves/elvish/.
cover:
rm -f elvish-coverage.dat
go test -covermode=set -coverprofile=./elvish-coverage.dat ./...
go tool cover -html=./elvish-coverage.dat
go test -covermode=set -coverprofile=$@ ./...
go tool cover -html=$@
# Ensure the style of Go and Markdown source files is consistent.
style: