Codebase list golang-github-yosssi-ace-proxy / 7a74c46
Install test/ fixture with DH_GOLANG_INSTALL_EXTRA instead of using override_dh_auto_test Anthony Fok 5 years ago
1 changed file(s) with 1 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
00 #!/usr/bin/make -f
11
2 builddir := $(CURDIR)/obj-$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
3 DH_GOPKG := github.com/yosssi/ace-proxy
2 export DH_GOLANG_INSTALL_EXTRA := test/
43
54 %:
65 dh $@ --buildsystem=golang --with=golang
7
8 override_dh_auto_test:
9 cp -a test $(builddir)/src/$(DH_GOPKG)/
10 dh_auto_test -O--buildsystem=golang
11 rm -rf $(builddir)/src/$(DH_GOPKG)/test