exchange/src/auditor/taler-auditor.in

24 lines
634 B
Plaintext
Raw Normal View History

2020-03-21 16:09:22 +01:00
#!/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}
2020-03-31 14:41:55 +02:00
pdflatex auditor-report.tex < /dev/null &> /dev/null || true
pdflatex auditor-report.tex < /dev/null &> /dev/null || true
pdflatex auditor-report.tex < /dev/null || echo "pdflatex failed"
2020-03-21 16:09:22 +01:00
cd ..
echo "Result is in ${DIR}/auditor-report.pdf"