2016-05-25 07:07:57 -05:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
|
|
|
|
2019-09-12 05:00:18 -05:00
|
|
|
# Launchpad rejects Go's access to $HOME, use custom folder
|
|
|
|
export HOME=/tmp/home
|
2019-02-28 08:33:59 -06:00
|
|
|
|
2016-05-25 07:07:57 -05:00
|
|
|
override_dh_auto_build:
|
2019-09-12 05:00:18 -05:00
|
|
|
go get golang.org/dl/go1.13 && $HOME/go/bin/go1.13 download
|
|
|
|
build/env.sh $HOME/go/bin/go1.13 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 07:07:57 -05:00
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@
|