File: rules

package info (click to toggle)
golang-github-rogpeppe-go-internal 1.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,148 kB
  • sloc: makefile: 6
file content (11 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

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

# Patch testscript/testscript.go and override dh-golang default GOPROXY=off
# to allow TestScripts/env_var_with_go and TestSimple/cover to PASS
override_dh_auto_test:
	patch -N -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch
	GOPROXY= dh_auto_test
	patch -R -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch