#!/usr/bin/make -f

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

override_dh_auto_test:
	-dh_auto_test $(DH_BUILD_OPTS) -- -run=Test
	dh_auto_test $(DH_BUILD_OPTS) -- -skip=Test

execute_after_dh_auto_test:
	find -type f \( -name '*.pem' -or -name 'ofile' -or -name 'ifile' -or -name 'test.p12' -or -name 'TestResult' \) -print -delete
