File: rules

package info (click to toggle)
golang-github-jackc-pgx 4.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 744 kB
  • sloc: sh: 44; makefile: 9; sql: 8
file content (14 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_GOLANG_GO_GENERATE := 1
export DH_GOLANG_EXCLUDES := examples

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

override_dh_auto_install:
	dh_auto_install -- --no-binaries

override_dh_auto_test:
	-dh_auto_test $(DH_BUILD_OPTS)
	dh_auto_test $(DH_BUILD_OPTS) -- -run="TestLogger" -skip="TestLoggerFunc"