chore(core): kmldmlc to kmc, pre-merge of feature-ldml branch

This commit is contained in:
Marc Durdin 2022-09-13 07:22:49 +10:00
parent e67b90cd83
commit 865a18d0e1

View file

@ -53,19 +53,19 @@ do_configure_dependencies() {
fi
has_configured_dependencies=true
# check dependency for ldml - kmldmlc
# check dependency for ldml - kmc
# TODO: in the future this should be part of the meson build, but
# it's too complicated at present due to old meson versions in
# debian packaging environments
if type node >/dev/null 2>&1; then
echo "Note: Found node, checking and building kmldmlc dependency if needed"
if [[ ! -f "$KEYMAN_ROOT/developer/src/kmldmlc/build/kmldmlc.js" ]]; then
echo "Note: Found node, checking and building kmc and hextobin dependencies if needed"
if [[ ! -f "$KEYMAN_ROOT/developer/src/kmc/build/kmc.js" ]]; then
"$KEYMAN_ROOT/common/web/keyman-version/build.sh" configure build
"$KEYMAN_ROOT/developer/src/kmldmlc/build.sh" build
"$KEYMAN_ROOT/developer/src/kmc/build.sh" configure build
"$KEYMAN_ROOT/common/tools/hextobin/build.sh" build
fi
else
echo "Note: could not find node, skipping kmldmlc dependency build, ldml tests will not be run"
echo "Note: could not find node, skipping hextobin and kmc dependency builds, ldml+binary tests will not be run"
fi
}