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