Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Include needed test files
4 export DH_GOLANG_INSTALL_EXTRA := _examples/de_DE.utf8/LC_MESSAGES/example.mo _examples/es_MX.utf8/LC_MESSAGES/example.mo
5
6 # Don't build binary
7 export DH_GOLANG_EXCLUDES := go-xgettext
8
9 %:
10 dh $@ --builddirectory=_build --buildsystem=golang
11
12 override_dh_auto_test:
13 LC_ALL=en_US.utf8 dh_auto_test -O--builddirectory=_build -O--buildsystem=golang