You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
379 B
Makefile
18 lines
379 B
Makefile
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
|
|
|
test:
|
|
go test -timeout=30s ./...
|
|
|
|
integ: test
|
|
INTEG_TESTS=yes go test -timeout=23s -run=Integ ./...
|
|
|
|
deps:
|
|
go get -d -v ./...
|
|
echo $(DEPS) | xargs -n1 go get -d
|
|
|
|
cov:
|
|
INTEG_TESTS=yes gocov test github.com/hashicorp/raft | gocov-html > /tmp/coverage.html
|
|
open /tmp/coverage.html
|
|
|
|
.PHONY: test cov integ deps
|