File: rules

package info (click to toggle)
golang-github-viant-toolbox 0.33.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,280 kB
  • sloc: makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := \
 kms/gcp/test \
 ssh/test/ls \
 storage/test \
 test

include /usr/share/dpkg/architecture.mk

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

ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
override_dh_auto_test:
ifeq ($(DEB_TARGET_ARCH_BITS), 32)
# Go test build fails on 32-bit systems, so ignore the failure
	-dh_auto_test
else
	dh_auto_test
endif
endif