debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # install all files for dockerfile/parser to pickup the various testfiles |
| 4 | # Ideally, upstream would move all test files out to 'testdata/', which seems |
| 5 | # to be a common best-practice in many other golang projects, and |
| 6 | # detected automatically by the golang debhelper |
| 7 | export DH_GOLANG_INSTALL_EXTRA := dockerfile/parser |
| 8 | |
| 9 | # avoid installing test utility |
| 10 | export DH_GOLANG_EXCLUDES := dumper |
| 11 | |
| 12 | %: |
| 13 | dh $@ --buildsystem=golang --with=golang |