mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
sentry-manager is used by Keyman Engine for Android and Keyman Engine for iOS, but not directly by KeymanWeb, nor does it have any dependencies on /web. So it does not make sense to keep it under /web. es-bundling is used by sentry-manager and potentially other /common/web tools in the future, so moving it under /common/tools makes it more consistent in the future. This is part of simplifying the web source tree; these changes do not make significant build performance differences at this time. Test-bot: skip
27 lines
826 B
Bash
Executable file
27 lines
826 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
## START STANDARD BUILD SCRIPT INCLUDE
|
|
# adjust relative paths as necessary
|
|
THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
|
|
. "${THIS_SCRIPT%/*}/../../../resources/build/builder-full.inc.sh"
|
|
## END STANDARD BUILD SCRIPT INCLUDE
|
|
|
|
. "$KEYMAN_ROOT/resources/build/utils.inc.sh"
|
|
. "$KEYMAN_ROOT/resources/build/node.inc.sh"
|
|
|
|
################################ Main script ################################
|
|
|
|
builder_describe "esbuild style bundling tooling for web and common/web" \
|
|
"clean" \
|
|
"configure" \
|
|
"build"
|
|
|
|
builder_describe_outputs \
|
|
configure /node_modules \
|
|
build /common/tools/es-bundling/build/index.mjs
|
|
|
|
builder_parse "$@"
|
|
|
|
builder_run_action configure node_select_version_and_npm_ci
|
|
builder_run_action clean rm -rf build/
|
|
builder_run_action build tsc -b
|