#!/usr/bin/make -f

# Don't build example binaries
export DH_GOLANG_EXCLUDES := examples/

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

# https://github.com/JohannesKaufmann/dom/issues/5
SKIP=TestRenderRepresentation_MultipleAttributes
override_dh_auto_test:
	-dh_auto_test $(DH_BUILD_OPTS) -- -run $(SKIP)
	dh_auto_test $(DH_BUILD_OPTS) -- -skip $(SKIP)
