#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := cmd/

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

# Skip failing tests (because v6.28.0 is ancient and originally built with old
# Go toolchain from 2024, producing different fake values)
override_dh_auto_test:
	dh_auto_test -- -skip 'TestJSONRawMessage|TestStructToDateTime|Example*'
