| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := examples |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=golang --with=golang |
| 7 | |
| 8 | # A dependency loop exists between golang-github-nats-io-go-nats and |
| 9 | # nats-server, and has been reported upstream at |
| 10 | # https://github.com/nats-io/nats.go/issues/1145. For the time being, to break |
| 11 | # this loop, we skip the tests for this library. When re-enabling the tests, |
| 12 | # look at the `go_test.mod` file for the additional dependencies that will need |
| 13 | # to be added to d/control. |
| 14 | override_dh_auto_test: |