| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_INSTALL_EXTRA := \ |
| 4 | test/foo.txt \ |
| 5 | test/bar.txt \ |
| 6 | test/foo.sh |
| 7 | |
| 8 | %: |
| 9 | dh $@ --builddirectory=_build --buildsystem=golang |
| 10 | |
| 11 | execute_after_dh_auto_configure: |
| 12 | rm -fv _build/src/gopkg.in/godo.v2/project_test.go |
| 13 | rm -fv _build/src/gopkg.in/godo.v2/watch_test.go |
| 14 | |
| 15 | override_dh_auto_test: |
| 16 | -dh_auto_test $(DH_BUILD_OPTS) -- -run=TestGlob |
| 17 | dh_auto_test $(DH_BUILD_OPTS) -- -skip=TestGlob |
| 18 | |
| 19 | override_dh_auto_install: |
| 20 | dh_auto_install -- --no-binaries |