blob: f68c9067051fb232285bef87d4c3c33c2934da6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env sh
# The whole pipeline: build, read, write, typeset.
#
# ARTEFACTS=<dir of .ssp and .ocda.db> OUT=<dir> sh pipeline/run.sh
#
# Nothing here is a test in the pass/fail sense; it is a run whose output is
# meant to be looked at. The counts it prints are there so that a change that
# breaks something is visible without reading 36 documents.
set -e
here=$(dirname "$0")
. "$here/config.sh"
: "${ARTEFACTS:?set ARTEFACTS to a directory of .ssp and .ocda.db files}"
mkdir -p "$OUT"
echo "== build"; sh "$here/build.sh"
echo; echo "== read"; sh "$here/read.sh"
echo; echo "== write"; sh "$here/write.sh"
echo; echo "== pdf"; sh "$here/pdf.sh"
echo
echo "output in $OUT"
|