File: rules

package info (click to toggle)
golang-nhooyr-websocket 1.8.12-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates
  • size: 528 kB
  • sloc: asm: 158; sh: 101; javascript: 62; makefile: 6
file content (12 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := examples

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

# Disable maskAsm test for platforms that don't define it.
# It's only defined on amd64 and arm64.
override_dh_auto_test:
	set -x; if [ "$$DEB_BUILD_ARCH" = "amd64" ] || [ "$$DEB_BUILD_ARCH" = "arm64" ]; then true; else patch  ./_build/src/github.com/coder/websocket/internal/thirdparty/frame_test.go debian/disable-mask-asm-test.diff; fi
	dh_auto_test