debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := examples |
| 4 | |
| 5 | %: |
| 6 | dh $@ --builddirectory=_build --buildsystem=golang |
| 7 | |
| 8 | # Remove installed snapshots from package |
| 9 | execute_after_dh_auto_install: |
| 10 | rm -rf $(CURDIR)/debian/golang-github-gkampitakis-go-snaps-dev/usr/share/gocode/src/github.com/gkampitakis/go-snaps/snaps/__snapshots__ |