#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := \
	fixtures/compile_check.go.tmpl \
	fixtures/expected.tmpl \
	fixtures/expected_with_color.tmpl

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

override_dh_auto_test: # ./.github/workflows/test.yml
	env TERM=xterm-256color \
		dh_auto_install $(DH_BUILD_OPTS)

override_dh_auto_install:
	dh_auto_install -- --no-binaries
