aboutsummaryrefslogtreecommitdiffstats
path: root/build/deb/ethereum/deb.rules
blob: ad7e275ff2e6580feda8fe132b80cdd5f54af32b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

override_dh_auto_build:
    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}}

override_dh_auto_test:

%:
    dh $@