debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := examples |
| 4 | |
| 5 | %: |
| 6 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 7 | |
| 8 | execute_after_dh_auto_test: |
| 9 | # The leftover testdata makes lintian upset. Drop them after tests. |
| 10 | chmod -R ugo+rwx _build/src/github.com/bmatcuk/doublestar/testdata/nopermission |
| 11 | $(RM) -r _build/src/github.com/bmatcuk/doublestar/testdata |