aboutsummaryrefslogtreecommitdiffstats
path: root/build/deb.rules
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-05-25 20:07:57 +0800
committerFelix Lange <fjl@twurst.com>2016-06-22 19:42:39 +0800
commit6c33ba14a4db99409657e6a68a7c629e09ceee3f (patch)
tree7b73dadb69a0e626e6c2c922da2ac17bba8e94d4 /build/deb.rules
parenta38be3eb488a349693a9c9905ab015278281f8db (diff)
downloadgo-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.gz
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.bz2
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.lz
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.xz
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.zst
go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.zip
build: add ci.go, use it everywhere
The new build script, ci.go, replaces some of the older shell scripts. ci.go can compile go-ethereum, run the tests, create release archives and debian source packages.
Diffstat (limited to 'build/deb.rules')
-rw-r--r--build/deb.rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/deb.rules b/build/deb.rules
new file mode 100644
index 000000000..3dfadb08d
--- /dev/null
+++ b/build/deb.rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+override_dh_auto_build:
+ build/env.sh /usr/lib/go-1.6/bin/go run build/ci.go install -gitcommit {{.Commit}}
+
+override_dh_auto_test:
+
+%:
+ dh $@