debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # examples/ folder is not for build, but just for docs |
| 4 | export DH_GOLANG_EXCLUDES := examples |
| 5 | |
| 6 | override_dh_auto_test: |
| 7 | ifeq ($(filter nocheck, $(DEB_BUILD_OPTIONS)),) |
| 8 | ulimit -n 2048 && dh_auto_test -- -timeout 20m -skip Test6GBEcho |
| 9 | endif |
| 10 | |
| 11 | %: |
| 12 | dh $@ --builddirectory=_build --buildsystem=golang |