| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
%: |
| 4 |
dh $@ --builddirectory=debian/_build --buildsystem=golang |
| 5 |
|
| 6 |
# TestFallback: https://github.com/ysmood/got/issues/21 |
| 7 |
SKIP="TestEnsureCoverage|TestFallback" |
| 8 |
override_dh_auto_test: |
| 9 |
-dh_auto_test $(DH_BUILD_OPTS) -- -run=$(SKIP) |
| 10 |
env TERM="xterm-256color" GODEBUG="tracebackancestors=1000" \ |
| 11 |
dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP) |
| 12 |
find debian/_build -type d -name .got -print0 | \ |
| 13 |
xargs -0r rm -rvf |
| 14 |
|
| 15 |
override_dh_auto_install: |
| 16 |
dh_auto_install -- --no-binaries |