Browse Source

removing gocov packages (#5534)

* removing gocov packages

* revise cov make target
pull/5639/head
Alvin Huang 6 years ago committed by GitHub
parent
commit
8e07c63c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      GNUmakefile

6
GNUmakefile

@ -5,8 +5,6 @@ GOTOOLS = \
github.com/mitchellh/gox \ github.com/mitchellh/gox \
golang.org/x/tools/cmd/cover \ golang.org/x/tools/cmd/cover \
golang.org/x/tools/cmd/stringer \ golang.org/x/tools/cmd/stringer \
github.com/axw/gocov/gocov \
gopkg.in/matm/v1/gocov-html \
github.com/gogo/protobuf/protoc-gen-gofast \ github.com/gogo/protobuf/protoc-gen-gofast \
github.com/vektra/mockery/cmd/mockery github.com/vektra/mockery/cmd/mockery
@ -143,8 +141,8 @@ dev-tree:
@$(SHELL) $(CURDIR)/build-support/scripts/dev.sh $(DEV_PUSH_ARG) @$(SHELL) $(CURDIR)/build-support/scripts/dev.sh $(DEV_PUSH_ARG)
cov: cov:
gocov test $(GOFILES) | gocov-html > /tmp/coverage.html go test ./... -coverprofile=coverage.out
open /tmp/coverage.html go tool cover -html=coverage.out
test: other-consul dev-build vet test-install-deps test-internal test: other-consul dev-build vet test-install-deps test-internal

Loading…
Cancel
Save