mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-08 06:57:29 +00:00
fix(web): had missed tools/testing/recorder bundling
This commit is contained in:
parent
3230612d9a
commit
5ecd95bd2b
1 changed files with 12 additions and 1 deletions
|
|
@ -15,6 +15,8 @@ SUBPROJECT_NAME=tools/testing/recorder
|
|||
# This script runs from its own folder
|
||||
cd "$THIS_SCRIPT_PATH"
|
||||
|
||||
BUNDLE_CMD="node $KEYMAN_ROOT/common/web/es-bundling/build/common-bundle.mjs"
|
||||
|
||||
################################ Main script ################################
|
||||
|
||||
builder_describe "Builds the Keyman Engine for Web's test-sequence recording tool" \
|
||||
|
|
@ -31,6 +33,15 @@ builder_describe_outputs \
|
|||
|
||||
builder_parse "$@"
|
||||
|
||||
do_build ( ) {
|
||||
compile $SUBPROJECT_NAME
|
||||
|
||||
# Base product - the main keyboard processor
|
||||
$BUNDLE_CMD "${KEYMAN_ROOT}/web/build/$SUBPROJECT_NAME/obj/index.js" \
|
||||
--out "${KEYMAN_ROOT}/web/build/$SUBPROJECT_NAME/lib/index.mjs" \
|
||||
--format esm
|
||||
}
|
||||
|
||||
builder_run_action configure verify_npm_setup
|
||||
builder_run_action clean rm -rf ../../../../build/$SUBPROJECT_NAME/
|
||||
builder_run_action build compile $SUBPROJECT_NAME
|
||||
builder_run_action build do_build
|
||||
Loading…
Add table
Reference in a new issue