spiegel-keyman/web/src/engine/predictive-text/worker-main/docs/build.sh
Eberhard Beilharz b9aa9ccd8c
refactor(web): move predictive-textworker-main
This moves `common/predictive-text/` →
`web/src/engine/predictive-text/worker-main/`.

This also moves `common/test/predictive-text/` →
`web/src/test/manual/predictive-text/`. Note though that this testing
tool is still broken.

Fixes: #12134
2024-08-15 12:26:50 +02:00

18 lines
481 B
Bash
Executable file

#!/usr/bin/env bash
# The diagram is built using the Graphviz suite.
# You can get it with most package managers, e.g.,
#
# sudo apt installl graphviz # Ubuntu
#
# brew install graphviz # macOS
# Check if Graphviz/dot is installed
if ! hash dot ; then
echo "Cannot (re)build state diagram" 1>&2
echo "Missing the Graphviz suite" 1>&2
echo "Download at $(tput bold)https://www.graphviz.org/$(tput sgr0)"
exit 1
fi
dot -Tpng lmlayer-states.dot -o lmlayer-states.png