mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Try to use go cover from 1.2 as local coverage tool. [ci skip]
This commit is contained in:
6
Makefile
6
Makefile
@@ -23,14 +23,14 @@ prepare: $(PREPARE_LIST)
|
||||
|
||||
cover-prepare:
|
||||
go get github.com/golang/lint/golint
|
||||
go get github.com/matm/gocov-html
|
||||
go get github.com/mattn/goveralls
|
||||
go get github.com/axw/gocov/gocov
|
||||
go get code.google.com/p/go.tools/cmd/cover
|
||||
|
||||
coverage:
|
||||
gocov test ./... | gocov-html > coverage.html
|
||||
open coverage.html
|
||||
go test -coverprofile=coverage.out
|
||||
go tool cover -html=coverage.out
|
||||
rm -f coverage.out
|
||||
|
||||
check:
|
||||
go tool vet -all=true .
|
||||
|
||||
Reference in New Issue
Block a user