mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
18 lines
251 B
Makefile
18 lines
251 B
Makefile
COVERPROFILE=cover.out
|
|
|
|
default: test
|
|
|
|
cover:
|
|
go test -coverprofile=$(COVERPROFILE) .
|
|
go tool cover -html=$(COVERPROFILE)
|
|
rm $(COVERPROFILE)
|
|
|
|
dependencies:
|
|
go get -d .
|
|
|
|
test:
|
|
go test -i ./...
|
|
go test -v ./...
|
|
|
|
.PHONY: coverage dependencies test
|