open-nomad/vendor/github.com/hashicorp/raft/Makefile

18 lines
378 B
Makefile
Raw Normal View History

2016-02-12 18:02:16 +00:00
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
test:
2016-06-16 21:53:03 +00:00
go test -timeout=30s ./...
2016-02-12 18:02:16 +00:00
integ: test
INTEG_TESTS=yes go test -timeout=3s -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