| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Avoid building /usr/bin/gosumcheck |
| 4 | export DH_GOLANG_EXCLUDES := gosumcheck |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=golang |
| 8 | |
| 9 | # Avoid circular dependency on x/tools, and to avoid network access |
| 10 | override_dh_auto_test: |
| 11 | DH_GOLANG_EXCLUDES=golang.org/x/mod/zip \ |
| 12 | dh_auto_test -- -test.short |