Skip to content

Commit c23be80

Browse files
committed
introduce gotestcover
1 parent 026eeaf commit c23be80

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ deps:
1111
devel-deps: deps
1212
go get github.com/golang/lint/golint
1313
go get golang.org/x/tools/cmd/vet
14-
go get golang.org/x/tools/cmd/cover
14+
go get github.com/pierrre/gotestcover
1515
go get github.com/mattn/goveralls
1616

1717
LINT_RET = .golint.txt
@@ -22,7 +22,7 @@ lint: devel-deps
2222
test ! -s $(LINT_RET)
2323

2424
cover: devel-deps
25-
tool/cover.sh
25+
gotestcover -v -short -covermode=count -coverprofile=.profile.cov -parallelpackages=4 ./...
2626

2727
build: deps
2828
mkdir -p build

tool/cover.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)