summaryrefslogtreecommitdiff
path: root/tools/proof
blob: 0922d9e792a4c2265e929bff545a5f44b23ce73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

rm -fr ~/Products/ledger*

./acprep -j16 --warn proof 2>&1 | tee ~/Desktop/proof.log

if egrep -q '(ERROR|CRITICAL)' ~/Desktop/proof.log; then
    notify "Ledger proof build failed"
else
    echo "Ledger proof build succeeded"
fi