#!/usr/bin/make -f

# Exclude examples, and modules with deps not in Debian.
export DH_GOLANG_EXCLUDES = \
	examples \
	parsers/nestedtext \
	providers/consul \
	providers/etcd \
	providers/vault
export DH_GOLANG_INSTALL_EXTRA = mock

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

override_dh_auto_test:
	HOME= \
	dh_auto_test

override_dh_auto_install:
	dh_auto_install -- --no-binaries
