File: rules

package info (click to toggle)
golang-github-hashicorp-serf 0.7.0~ds1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 1,108 kB
  • ctags: 1,103
  • sloc: sh: 459; makefile: 54; python: 11
file content (11 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

export GOPATH := $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)

override_dh_auto_test:
	# some of upstream's tests don't tear down listening sockets properly yet
	-go list github.com/hashicorp/serf/... | xargs -n1 go test -v
	# TODO some tests are a little racey -- it'd be good to figure out why

%:
	dh $@ --buildsystem=golang --with=golang