| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DH_GOLANG_INSTALL_EXTRA := \ |
| 4 |
fixtures/test.tar \ |
| 5 |
fixtures/test.zip |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --builddirectory=debian/_build --buildsystem=golang |
| 9 |
|
| 10 |
execute_before_dh_auto_install: |
| 11 |
rm -frv debian/_build/src/github.com/ysmood/fetchup/tmp |
| 12 |
|
| 13 |
# === RUN Example_install_golangci_lint |
| 14 |
# --- FAIL: Example_install_golangci_lint (0.00s) |
| 15 |
# panic: Not able to find a valid URL to download [https://github.com/golangci/golangci-lint/releases/download/v2.5.0/golangci-lint-2.5.0-linux-amd64.tar.gz] [recovered, repanicked] |
| 16 |
SKIP="Example_install_golangci_lint|Example_install_golang_migrate|TestUnZipSymbolLink" |
| 17 |
override_dh_auto_test: |
| 18 |
-dh_auto_test $(DH_BUILD_OPTS) -- -run=$(SKIP) |
| 19 |
dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP) |