aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor.in
blob: 1cc50d13046b71558745a478671d86a2c2f21628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -eu

DIR=`mktemp -d reportXXXXXX`
for n in aggregation coins deposits reserves wire
do
  taler-helper-auditor-$n "$@" > ${DIR}/$n.json
done

taler-helper-auditor-render.py \
    ${DIR}/aggregation.json \
    ${DIR}/coins.json \
    ${DIR}/deposits.json \
    ${DIR}/reserves.json \
    ${DIR}/wire.json < %pkgdatadir%/auditor-report.tex.j2 > ${DIR}/auditor-report.tex
cd ${DIR}
pdflatex auditor-report.tex < /dev/null
pdflatex auditor-report.tex < /dev/null
pdflatex auditor-report.tex < /dev/null
cd ..

echo "Result is in ${DIR}/auditor-report.pdf"