File: Makefile

package info (click to toggle)
golang-github-hashicorp-memberlist 0.1.0%2Bgit20180209.2288bf30-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 596 kB
  • sloc: sh: 26; makefile: 16
file content (19 lines) | stat: -rw-r--r-- 364 bytes parent folder | download
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

.PNONY: test cov integ