Auto-download + compile Plover dict during build

CMake configure:
1. Check for pre-compiled dicts/steno_dict.bin (or JAVELIN_DICT_BIN)
2. If missing, download Plover main.json from openstenoproject/plover
3. Run compile_dict.py to produce JSC4 binary
4. Embed via dict_embed.S

Downloaded JSON cached in dicts_src/ — persists across builds via
GH Actions west module cache. Only re-downloads if cache evicted.
This commit is contained in:
afiqzudinhadi 2026-06-23 00:47:15 +08:00
parent 3e4b5a56b0
commit 6eef6d7006
2 changed files with 56 additions and 9 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
__pycache__/
dicts_src/
dicts/*.bin