debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := examples |
| 4 | |
| 5 | # TODO figure out what's wrong with the tests and fix it |
| 6 | override_dh_auto_test: |
| 7 | # the upstream tests are a little hairy and obviously systemd-centric |
| 8 | # skipping them for now (to be revisited later) |
| 9 | #[ ! -S /var/run/dbus/system_bus_socket ] || \ |
| 10 | # dh_auto_test -O--buildsystem=golang |
| 11 | |
| 12 | %: |
| 13 | dh $@ --builddirectory=_build --buildsystem=golang |