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