#!/usr/bin/make -f %: dh $@ --builddirectory=debian/_build --buildsystem=golang --with=golang # The dialect unit tests use the onpar 1.x API; Debian has onpar 0.3.3. execute_after_dh_auto_configure: rm -f debian/_build/src/github.com/go-gorp/gorp/v3/dialect_*_test.go # The tests carry the "integration" build tag; run them against SQLite. override_dh_auto_test: GORP_TEST_DIALECT=sqlite GORP_TEST_DSN=$(CURDIR)/debian/_build/gorptest.db \ dh_auto_test -- -tags integration