Marc Durdin
f3fb3ac87b
maint(common): move build-utils-ci.inc.sh to ci/ci-publish.inc.sh
...
Removes a number of unused functions from the file, renames remaining
functions to match our builder script prefix patterns, removes unused
imports from various build scripts (e.g. Android).
Fixes : #14453
2025-08-05 12:54:56 +10:00
Marc Durdin
f394245636
maint(common): consolidate builder scripts
...
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
2025-08-02 08:11:24 +10:00
Marc Durdin
65158a0526
maint(common): rename shellHelperFunctions.sh to utils.inc.sh
...
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.
Fixes : #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10:00
Joshua Horton
bfb97ca0c6
maint(web): upgrade Sentry to 8.55.0
...
Fixes: KEYMAN-WEB-RX
(It was produced artificially after this PR's changes to validate them.)
Cross-reference with https://github.com/getsentry/sentry-javascript/blob/master/docs/migration/v7-to-v8.md in regard to minimum supported versions.
@keymanapp-test-bot skip
2025-05-22 14:02:16 +07:00
Darcy Wong
5f0cd83d05
maint(android): Update Gradle to use Java 21
2025-05-08 12:57:17 +07:00
Darcy Wong
ff1fb14768
fix(android/engine): Use build_is_ci_build for test action
2025-04-28 13:49:01 +07:00
Darcy Wong
b9f1f51a33
chore(android): Use builder_is_ci_build rather than --ci flag
2025-04-28 10:42:52 +07:00
Eberhard Beilharz
b20d7f1eb4
refactor(web): move sentry-manager → web/src/engine/sentry-manager
...
Move `common/web/sentry-manager` to `web/src/engine/sentry-manager`.
Fixes : #12387
2024-09-11 15:15:01 +02:00
Eberhard Beilharz
afe25eda24
change(web): remove support for es5
...
Fixes : #11878
2024-07-04 20:49:30 +02:00
Marc Durdin
cd8121ef65
chore(common): builder scripts now use /resources/build/builder.inc.sh
...
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).
This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc
chore(common): maintenance on build scripts - cd
...
Fixes #11324 .
* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Joshua A. Horton
670cb5f070
chore(web): Merge branch 'feat/web/es6-target-artifact' into feat/web/webview-es6-target-artifact
2023-12-22 13:02:11 +07:00
Joshua A. Horton
a2305c8f46
change(web): Android engine now includes both ES5 and ES6 KMW versions
2023-12-19 14:41:49 +07:00
Joshua A. Horton
90ecdf38f8
fix(web): adds Symbol, Map polyfill for main Web
2023-12-19 14:17:46 +07:00
Joshua A. Horton
aa6f345dc2
fix(web): KMW artifact path broke b/c product file rename
2023-04-17 08:19:31 +07:00
Joshua A. Horton
cb73fdb05e
chore(web): Merge branch 'change/web/set-active-keyboard' into fix/web/webview-android-launch
2023-04-13 13:31:07 +07:00
Joshua A. Horton
7b7fa52a95
chore(web): renames app/webview output, preserves name within embedding apps
2023-04-12 09:00:17 +07:00
Joshua A. Horton
b4fee54336
chore(web): Merge branch 'change/web/set-active-keyboard' into fix/web/webview-android-launch
2023-04-07 09:57:10 +07:00
Darcy Wong
cd2d2b794b
fix(android): Move cp from configure to build actions
2023-03-31 13:22:28 +07:00
Joshua A. Horton
cc808a861e
fix(android): forgot the builder dependency link for sentry-manager
2023-03-29 16:09:59 +07:00
Joshua A. Horton
488ca3fed7
fix(android): minor patch to prior commit
2023-03-29 10:59:23 +07:00
Joshua A. Horton
48610a3b43
fix(common/web): modularizes SentryManager, re-enables it
2023-03-29 09:54:24 +07:00
Darcy Wong
c11352b4fa
chore(android/engine): Update to Java 11
2023-03-29 09:46:27 +07:00
Joshua A. Horton
3f4fd65d07
fix(web): android debug-host page linkage
2023-03-28 14:36:58 +07:00
Darcy Wong
83b10acfe7
fix(android/engine): Add builder output for configure
2023-03-16 08:52:00 +07:00
Darcy Wong
1a8d047ba1
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-13 11:13:14 +07:00
Darcy Wong
78adb337a1
refactor(android): Use builder_is_debug_build
2023-03-08 09:57:36 +07:00
Darcy Wong
55349e32cf
fix(android): Have top level builder handle cleaning up upload
2023-03-03 13:21:16 +07:00
Darcy Wong
6ab7068e0c
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-03 07:57:42 +07:00
Darcy Wong
90b1bc82f2
fix(android): Include config in path to keyman-engine.aar
2023-02-27 11:42:24 +07:00
Darcy Wong
29a3f2f6c5
fix(android/engine): Output keyman-engine.aar
2023-02-27 09:41:11 +07:00
Darcy Wong
e1820013c6
fix(android): Fix output paths
2023-02-24 13:46:00 +07:00
Darcy Wong
ed0d69b385
chore(android/engine): More cleanup
2023-02-24 11:38:43 +07:00
Darcy Wong
7a1f80e70d
fix(android): Update configure actions
2023-02-24 11:33:26 +07:00
Darcy Wong
69e40e3011
chore(android/engine): Tidy up lint for debug vs release
2023-02-23 13:34:10 +07:00
Darcy Wong
a02ae16961
chore(android/engine): Rename abbreviations
2023-02-23 13:27:25 +07:00
Darcy Wong
b034757cb5
refactor(android/engine): Address more review comments for KMEA builder
2023-02-23 13:17:52 +07:00
Darcy Wong
cb29cd0599
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-23 12:57:19 +07:00
Darcy Wong
6c0303b352
refactor(android/engine): Handle --ci flag
2023-02-23 11:00:17 +07:00
Darcy Wong
f075ebe3aa
refactor(android/engine): Fix --debug options
2023-02-23 10:32:38 +07:00
Darcy Wong
5fb2460d66
chore(android): Merge branch 'master' into refactor/android/builder-script
2023-02-23 09:22:47 +07:00
Marc Durdin
ce864ea923
chore: update standard script prolog to use builtin instead of dirname
2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907
chore: remove greadlink from standard script prolog
2023-02-22 10:43:06 +07:00
Marc Durdin
c475188c6b
chore: use builder_die, remove die
2023-02-20 09:03:37 +07:00
Marc Durdin
318b4d4478
chore: use builder_warn, remove warn
2023-02-20 08:56:31 +07:00
Darcy Wong
4830e3d9d7
fix(android/engine): Use :engine instead of :app target
2023-02-16 12:54:03 +07:00
Darcy Wong
18e2a213e5
fix(android/engine): Fix builder dependency
2023-02-10 13:26:20 +07:00
Darcy Wong
4a78fd18ea
refactor(android/engine): Split out build and test action
2023-02-10 09:13:38 +07:00
Darcy Wong
1e0272c5c8
refactor(android/engine): Update builder actions
2023-02-10 07:53:01 +07:00
Darcy Wong
3455ba419a
chore(android/engine): Minimal update to builder script
2023-02-08 13:42:16 +07:00