#!/usr/bin/make -f

export DH_GOLANG_GO_GENERATE := 1
export DH_GOLANG_EXCLUDES := examples

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

override_dh_auto_install:
	dh_auto_install -- --no-binaries

override_dh_auto_test:
	-dh_auto_test $(DH_BUILD_OPTS)
	dh_auto_test $(DH_BUILD_OPTS) -- -run="TestLogger" -skip="TestLoggerFunc"
