mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-04 19:07:51 +08:00
Rename coverage file to "cover".
This commit is contained in:
parent
79973a4aa1
commit
37e36f61be
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -22,7 +22,6 @@ _testmain.go
|
|||
*.exe
|
||||
|
||||
# Project specific
|
||||
cover
|
||||
elvish-coverage.dat
|
||||
/cover
|
||||
/_bin/
|
||||
/elvish
|
||||
|
|
5
Makefile
5
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user