mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 11:57:17 +00:00
734e00af9e
* build: bump PPAs to Go 1.13 (via longsleep), keep Trusty on 1.11 * travis, build, vendor: use own Go bundle for PPA builds * travis, build, internal, vendor: smarter Go bundler, own untar * build: updated ci-notes with new Go bundling, only make, don't test
19 lines
520 B
Makefile
19 lines
520 B
Makefile
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
# Launchpad rejects Go's access to $HOME/.cache, use custom folder
|
|
export GOCACHE=/tmp/go-build
|
|
export GOROOT_BOOTSTRAP={{.GoBootPath}}
|
|
|
|
override_dh_auto_build:
|
|
(cd .go/src && ./make.bash)
|
|
build/env.sh .go/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}}
|
|
|
|
override_dh_auto_test:
|
|
|
|
%:
|
|
dh $@
|