File: rules

package info (click to toggle)
golang-github-expediadotcom-haystack-client-go 0.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 228 kB
  • sloc: sh: 117; makefile: 34
file content (14 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# Do not build examples
export DH_GOLANG_EXCLUDES := examples integration_test.go

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

override_dh_auto_test:
	# Disable the integration tests since they require a running Kafka cluster.
	find _build -type f -name integration_test.go -delete
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test
endif