Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DH_GOLANG_INSTALL_EXTRA := pkg/ntpmonitor/ntpsync.yaml
4
5 # fetch-tsa-certs needs unpackaged KMS stuff
6 export DH_GOLANG_EXCLUDES := \
7 github.com/sigstore/timestamp-authority/cmd/fetch-tsa-certs
8
9 %:
10 dh $@ --builddirectory=_build --buildsystem=golang
11
12 override_dh_auto_install:
13 dh_auto_install -- --no-binaries
14
15 SKIP="TestInspect|TestTimestamp|TestVerify_CertificateChainFlag|TestVerify_RootAndIntermediateCertificateFlags|TestVerify_AllCertFlagsIncluded|TestVerify_NoCertFlagsIncluded|TestVerify_PassLeafCertificate|TestVerify_InvalidTSR|TestVerify_InvalidPEM"
16 override_dh_auto_test:
17 -dh_auto_test $(DH_BUILD_OPTS) -- -run=$(SKIP)
18 dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP)