File: rules

package info (click to toggle)
golang-github-elazarl-goproxy 1.1%2Bgit20240726.8b0c205%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 612 kB
  • sloc: sh: 36; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 421 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := examples
export DH_GOLANG_INSTALL_EXTRA := $(wildcard test_data/*)

%:
	dh $@ --buildsystem=golang --with=golang --builddirectory=_build

#Removed proxy_test.go because it requires Internet access
override_dh_auto_configure:
	dh_auto_configure
	rm -v _build/src/github.com/elazarl/goproxy/proxy_test.go
	rm -v _build/src/github.com/elazarl/goproxy/counterecryptor_test.go