debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := examples |
| 4 | export DH_GOLANG_INSTALL_EXTRA := $(wildcard test_data/*) |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=golang --with=golang --builddirectory=_build |
| 8 | |
| 9 | #Removed proxy_test.go because it requires Internet access |
| 10 | override_dh_auto_configure: |
| 11 | dh_auto_configure |
| 12 | rm -v _build/src/github.com/elazarl/goproxy/proxy_test.go |
| 13 | rm -v _build/src/github.com/elazarl/goproxy/counterecryptor_test.go |