| 1 |
|
| 2 |
|
| 3 |
export DH_GOLANG_EXCLUDES := integration plugins/sample plugins/main/windows pkg/testutils/echo |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ --buildsystem=golang --builddirectory=_build |
| 7 |
|
| 8 |
override_dh_auto_test: |
| 9 |
|
| 10 |
|
| 11 |
execute_after_dh_auto_install: |
| 12 |
|
| 13 |
|
| 14 |
find debian/tmp/usr/share/gocode/src/github.com/containernetworking/plugins/ \ |
| 15 |
-type f -exec grep -Eq '^package (main|main_test)$$' '{}' \; -delete -print |
| 16 |
find debian/tmp/usr/share/gocode/src/github.com/containernetworking/plugins/ \ |
| 17 |
-type d -empty -delete -print |
| 18 |
|
| 19 |
override_dh_installsystemd: |
| 20 |
dh_installsystemd --name=cni-dhcp --no-enable --no-start |