File: rules

package info (click to toggle)
golang-github-schollz-peerdiscovery 1.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 152 kB
  • sloc: makefile: 10
file content (11 lines) | stat: -rwxr-xr-x 281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := examples/

%:
	dh $@ --builddirectory=_build --buildsystem=golang

override_dh_auto_test:
	# Skip tests try to access the internet.
	# They fail when building under a buildd.
	dh_auto_test -- -skip='TestDiscovery|TestDiscoverySelf'