#!/usr/bin/make -f export DH_GOLANG_INSTALL_EXTRA := internal/code-generator/generator/test_files internal/code-generator/assets _testdata export ENRY_SKIP_NETWORK_TESTS := 1 %: dh $@ --builddirectory=debian/_build --buildsystem=golang override_dh_auto_install: dh_auto_install -- --no-binaries # dh_golang_autopkgtest calls this after the normal build+test, once real # internet is available (see debian/tests/autopkgtest-pkg-go.conf). Clearing # ENRY_SKIP_NETWORK_TESTS here lets the linguist-corpus tests run for real. autopkgtest: ENRY_SKIP_NETWORK_TESTS= dh_auto_test --buildsystem=golang --builddirectory=debian/_build