File: rules

package info (click to toggle)
packer 0.10.2%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,728 kB
  • ctags: 4,626
  • sloc: sh: 321; makefile: 73
file content (21 lines) | stat: -rwxr-xr-x 904 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS=nocheck
export DH_GOLANG_INSTALL_EXTRA := common/test-fixtures \
                                  command/test-fixtures \
                                  helper/flag-kv/test-fixtures \
                                  packer/test-fixtures \
                                  template/test-fixtures \
                                  builder/docker/test-fixtures \
                                  builder/files/test-fixtures

%:
	dh $@ --buildsystem=golang --with=golang

# temporarily disable flaky TestMuxBroker (see https://github.com/mitchellh/packer/issues/4750)
override_dh_auto_test:
	HOME=$(CURDIR) dh_auto_test -- -timeout 30m -run '^Test([^M]|M[^u]|Mu[^x]|Mux[^B]|MuxB[^r]|MuxBr[^o]|MuxBro[^k]|MuxBrok[^e]|MuxBroke[^r])'

override_dh_installdocs:
	pandoc -f markdown -t plain -o README README.md
	dh_installdocs -A README