summaryrefslogtreecommitdiff
path: root/tools/proof
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-31 05:13:53 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-31 05:13:53 -0400
commit0b5978ae3c00070036ec1987b0724994048730a3 (patch)
tree46d631224dfc9e2232c29e8932c2e2453523eb91 /tools/proof
parent64d2c3bd92e48ce46ea92fdbd09d3e8e7873514b (diff)
downloadfork-ledger-0b5978ae3c00070036ec1987b0724994048730a3.tar.gz
fork-ledger-0b5978ae3c00070036ec1987b0724994048730a3.tar.bz2
fork-ledger-0b5978ae3c00070036ec1987b0724994048730a3.zip
Added tools/proof utility script
Diffstat (limited to 'tools/proof')
-rwxr-xr-xtools/proof11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/proof b/tools/proof
new file mode 100755
index 00000000..72104dfb
--- /dev/null
+++ b/tools/proof
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+git stash
+git checkout master
+
+rm -fr ~/Products/ledger*
+
+(./acprep -j16 --warn proof 2>&1 | tee ~/Desktop/proof.log) \
+ || notify "Ledger proof build failed"