#!/usr/bin/make -f BUILD_DIR := _build/src/github.com/notaryproject/notation-go export DH_GOLANG_INSTALL_EXTRA := $(wildcard config/testdata/*/*.json) %: dh $@ --builddirectory=_build --buildsystem=golang # https://github.com/notaryproject/notation-go/issues/587 SKIP="TestPushSignature|TestPushSignatureImageManifest" override_dh_auto_test: -dh_auto_test $(DH_BUILD_OPTS) -- -run=$(SKIP) dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP) execute_after_dh_auto_test: rm -rfv $(BUILD_DIR)/tmp/ # executable-not-elf-or-script execute_before_dh_auto_install: chmod -v -x $(CURDIR)/$(BUILD_DIR)/plugin/testdata/plugins/foo/notation-foo