#!/usr/bin/make -f

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:
	# disable test requires network access
	dh_auto_test -- -short -skip="\
	TestRecordAuthWithOAuth2|\
	"
