#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := \
	test/foo.txt \
	test/bar.txt \
	test/foo.sh

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

execute_after_dh_auto_configure:
	rm -fv _build/src/gopkg.in/godo.v2/project_test.go
	rm -fv _build/src/gopkg.in/godo.v2/watch_test.go

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

override_dh_auto_install:
	dh_auto_install -- --no-binaries
