#!/usr/bin/make -f export DH_GOLANG_INSTALL_EXTRA := \ codegen/internal/generator/templates/ \ # EOL %: dh $@ --builddirectory=debian/_build override_dh_auto_install: dh_auto_install -- --no-binaries # XXX: Some tests fail hard when GO111MODULE=off, disable them for now with # -short, the other failing test is missing module information. SKIP="TestModuleVersion|TestGitDescribe|TestBuildConstraintDetection|TestToolchainFloorCoversGuards" override_dh_auto_test: -dh_auto_test -- -run $(SKIP) # XXX: Some tests fail hard when asynctimerchan!=0 which is the default when # GO111MODULE is set to off. env GODEBUG="asynctimerchan=0" dh_auto_test -- -short -skip $(SKIP)