mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
Adds kmc-keyboard-info module and a basic unit test for it. Integration into kmc is next step.
42 lines
1.5 KiB
Bash
Executable file
42 lines
1.5 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Build Keyman Developer components
|
|
#
|
|
# TODO: convert existing Makefiles/ into build.sh scripts; for now,
|
|
# this only builds kmc and kmcmplib
|
|
|
|
#set -x
|
|
set -eu
|
|
|
|
## START STANDARD BUILD SCRIPT INCLUDE
|
|
# adjust relative paths as necessary
|
|
THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
|
|
. "${THIS_SCRIPT%/*}/../resources/build/build-utils.sh"
|
|
## END STANDARD BUILD SCRIPT INCLUDE
|
|
|
|
. "$KEYMAN_ROOT/resources/shellHelperFunctions.sh"
|
|
|
|
################################ Main script ################################
|
|
|
|
builder_describe \
|
|
"Build Keyman Developer
|
|
|
|
**NOTE:** this only builds kmc and kmcmplib for now (TODO on other modules)" \
|
|
\
|
|
clean \
|
|
configure \
|
|
build \
|
|
test \
|
|
":kmcmplib=src/kmcmplib Compiler - .kmn compiler" \
|
|
":kmc-analyze=src/kmc-analyze Compiler - Analysis Tools" \
|
|
":kmc-keyboard-info=src/kmc-keyboard-info Compiler - .keyboard_info Module" \
|
|
":kmc-kmn=src/kmc-kmn Compiler - .kmn to .kmx and .js Keyboard Module" \
|
|
":kmc-ldml=src/kmc-ldml Compiler - LDML Keyboard Module" \
|
|
":kmc-model=src/kmc-model Compiler - Lexical Model Module" \
|
|
":kmc-model-info=src/kmc-model-info Compiler - .model_info Module" \
|
|
":kmc-package=src/kmc-package Compiler - Package Module" \
|
|
":kmc=src/kmc Compiler - Command Line Interface"
|
|
|
|
builder_parse "$@"
|
|
|
|
builder_run_child_actions clean configure build test
|