#!/usr/bin/make -f include /usr/share/dpkg/architecture.mk export DH_GOLANG_INSTALL_EXTRA := plugins/jsvm/internal/types/generated/types.d.ts export DEB_GOMINCOMPAT := 1.25 export GOFLAGS="-tags=no_ui" %: dh $@ --builddirectory=debian/_build --buildsystem=golang override_dh_auto_test: ifeq ($(DEB_HOST_ARCH_BITS),32) @echo "Skipping test suite on 32-bit architectures to fix FTBFS." else # disable test requires network access dh_auto_test -- -short -skip="\ TestRecordAuthWithOAuth2|\ " endif