#!/usr/bin/make -f

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

override_dh_auto_test:
	-dh_auto_test $(DH_BUILD_OPTS) -- -run=TestEnsureCoverage
	env TERM="xterm-256color" GODEBUG="tracebackancestors=1000" \
		dh_auto_test $(DH_BUILD_OPTS) -- -skip=TestEnsureCoverage

override_dh_auto_install:
	dh_auto_install -- --no-binaries
