debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOPKG := github.com/x-cray/logrus-prefixed-formatter |
| 4 | export DH_GOLANG_INSTALL_ALL := 1 |
| 5 | export DH_GOLANG_EXCLUDES := examples |
| 6 | |
| 7 | %: |
| 8 | dh $@ --buildsystem=golang --with=golang |
| 9 | |
| 10 | override_dh_auto_test: |
| 11 | @echo "Tests are disabled for now" |
| 12 | |
| 13 | override_dh_install: |
| 14 | dh_install |
| 15 | rm -f $(CURDIR)/debian/golang-github-x-cray-logrus-prefixed-formatter-dev/usr/share/gocode/src/github.com/x-cray/logrus-prefixed-formatter/.gitignore |