| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | export DH_GOLANG_GO_GENERATE := 1 |
| 7 | |
| 8 | export DH_GOLANG_EXCLUDES = api/v0/examples api/v1/cmd |
| 9 | |
| 10 | %: |
| 11 | dh $@ --buildsystem=golang --with=golang |
| 12 | |
| 13 | override_dh_auto_test: |
| 14 | dh_auto_test --max-parallel=1 |