mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by giving the scripts more appropriate names. Most build scripts should use builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh. Documented in resources/build/README.md. Renames: * resources/build/builder.inc.sh to resources/build/builder-full.inc.sh * resources/build/build-utils.sh to resources/build/builder-basic.inc.sh Other changes: * Moves Android-specific functions out of builder-basic.inc.sh and into android/build.sh. * Renames functions in builder-basic.inc.sh More functions may be moved from builder-basic.inc.sh into utils.inc.sh or other scripts in the future. Fixes: #14065 Build-bot: build all Test-bot: skip |
||
|---|---|---|
| .. | ||
| 46 | ||
| fetch-latest-cldr.sh | ||
| fixup-schema.js | ||
| readme.md | ||
| unicode-license.txt | ||
| verify-version.mjs | ||
ldml-keyboards
Data is versioned, so each directory has its version such as 45.
How to Update
- Checkout CLDR, preferably a release version, somewhere such as /src/cldr
- run
fetch-latest-cldr.sh 45 /src/cldr(where '45' is the CLDR version) - check results, run tests, check in and open a PR
Data Format
Each directory contains:
-
ldmlKeyboard3.dtd- the DTD file -
ldmlKeyboard3.xsd- the XSD file, automatically converted from the DTD using Visual Studio, hand tweaked as necessary -
ldml-keyboard3.schema.json- the JSON schema file, automatically converted from the XSD using xsd2json (https://github.com/Mermade/jgeXml), hand tweaked as necessary:- change toplevel "id" to "$id"
- add "type": "object" to /keyboard
- change /keyboard/keys/key type to "array"
-
imports/- the importable data files (TODO-LDML)
License
- unicode-license.txt - Unicode license