2016-05-25 15:07:57 +03:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
|
|
|
|
2019-02-28 17:33:59 +03:00
|
|
|
# Launchpad rejects Go's access to $HOME/.cache, use custom folder
|
2019-03-01 11:50:21 +03:00
|
|
|
export GOCACHE=/tmp/go-build
|
2019-02-28 17:33:59 +03:00
|
|
|
|
2016-05-25 15:07:57 +03:00
|
|
|
override_dh_auto_build:
|
2019-02-26 11:31:37 +03:00
|
|
|
build/env.sh /usr/lib/go-1.11/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
|
2016-05-25 15:07:57 +03:00
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@
|