debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 5 | |
| 6 | override_dh_auto_test: |
| 7 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 8 | cp testdata*.tsv _build/src/github.com/shenwei356/breader/ |
| 9 | dh_auto_test |
| 10 | rm _build/src/github.com/shenwei356/breader/*.tsv |
| 11 | endif |