debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # We do not want to ship compressed files under testdata |
| 4 | export DH_GOLANG_EXCLUDES = testdata |
| 5 | |
| 6 | %: |
| 7 | dh $@ --builddirectory=debian/_build --buildsystem=golang |
| 8 | |
| 9 | override_dh_auto_test: |
| 10 | # skip TestReader that requires files from excluded testdata |
| 11 | dh_auto_test -- -short -skip="\ |
| 12 | TestReader|\ |
| 13 | " |