#!/usr/bin/make -f

# The detector test corpora under testdata/ and old/testdata/ are removed from
# the source tarball (see debian/copyright Files-Excluded), so the tests that
# read them cannot run.
export DH_GOLANG_EXCLUDES := old

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

override_dh_auto_test:
	dh_auto_test -- -short -run 'TestScan|TestType|TestURL'
