#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := sample

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

execute_after_dh_auto_configure:
	rm -vf _build/src/github.com/aliyun/aliyun-oss-go-sdk/sample.go

override_dh_auto_test:
	# upstream tests rely on network and correct ACCESS_KEY_ID applied,
	# so we don't run tests here.