debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # See debhelper(7) (uncomment to enable). |
| 4 | # Output every command that modifies files on the build system. |
| 5 | export DH_VERBOSE = 1 |
| 6 | |
| 7 | #export DH_GOLANG_EXCLUDES := test |
| 8 | export DH_GOLANG_BUILDPKG := \ |
| 9 | github.com/hugelgupf/p9/cmd/p9ufs \ |
| 10 | github.com/hugelgupf/p9/p9 |
| 11 | |
| 12 | %: |
| 13 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 14 | |
| 15 | override_dh_auto_test: |
| 16 | DH_GOLANG_EXCLUDES="p9\/p9 test" \ |
| 17 | dh_auto_test -v |