#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := doc
export DH_GOLANG_INSTALL_EXTRA := hsluv-snapshot-rev4.json

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

# RUN   TestColorCount
# Testing up to 100 palettes may take a while...
# panic: test timed out after 10m0s
# i386 https://ci.debian.net/packages/g/golang-github-lucasb-eyer-go-colorful/testing/i386/70401646/#L8801
override_dh_auto_test:
	dh_auto_test $(DH_BUILD_OPTS) -- -timeout 30m
