numerus/debian/rules

12 lines
278 B
Makefile
Executable File

#!/usr/bin/make -f
%:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
execute_before_dh_auto_build:
printf 'package pkg; const Version = "%s"' "$(DEB_UPSTREAM_VERSION)" > pkg/build.go
make
execute_after_dh_auto_test:
pg_virtualenv -v 15 make test-deploy