summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/hashicorp/memberlist/Makefile
blob: e34a0818d7e9ca9728f4e9f8a3ca8d9e3fb56f9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DEPS = $(go list -f '{{range .Imports}}{{.}} {{end}}' ./...)
test: subnet
	go test ./...

integ: subnet
	INTEG_TESTS=yes go test ./...

subnet:
	./test/setup_subnet.sh

cov:
	gocov test github.com/hashicorp/memberlist | gocov-html > /tmp/coverage.html
	open /tmp/coverage.html

deps:
	go get -d -v ./...
	echo $(DEPS) | xargs -n1 go get -d

.PHONY: test cov integ