#!/usr/bin/env sh # The whole pipeline: build, read, write, typeset. # # ARTEFACTS= OUT= 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"