Commit graph

45 commits

Author SHA1 Message Date
Marc Durdin
f9008b6d2b refactor(android): move Android Engine help in-repo
Relates-to: #12347
2024-10-31 10:08:17 +07:00
Marc Durdin
016a6f0225 chore(common): address review comments 2024-10-09 08:12:21 +07:00
Marc Durdin
640d3e5096 test(developer): add markdown link check test for product documentation
Adds check-markdown package that parses .md files, looks for links and
images, and verifies that they are valid links (for internal links).
2024-09-25 15:51:32 -07:00
Darcy Wong
d99d4d80ff fix(android): Separate publishSentry Gradle task to publish symbols 2024-09-04 10:36:09 +07: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
Darcy Wong
c7e65409a3 fix(android): Move set_java_home to build-utils 2023-03-31 13:07:35 +07:00
Darcy Wong
aeab288265
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-31 12:56:20 +07:00
Darcy Wong
0ebbe776f7 refactor(android): Use JAVA_HOME_ vars to set Java version 2023-03-29 09:46:27 +07:00
Darcy Wong
ec5f2d8f7e refactor(android): Add inheritable options 2023-03-10 13:18:33 +07:00
Darcy Wong
78adb337a1 refactor(android): Use builder_is_debug_build 2023-03-08 09:57:36 +07:00
Darcy Wong
3103c483fd fix(android): Have top level builder 2023-03-06 10:24:28 +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
5265058be1 refactor(android): Fix test actions 2023-03-02 11:18:56 +07:00
Darcy Wong
9c7f9124a8 fix(android): KMPro output 2023-02-28 07:43:48 +07:00
Darcy Wong
1e243e8c6f refactor(android): Update top level script 2023-02-28 07:33:10 +07:00
Darcy Wong
da00510ca3 fix(android): Fix several scripts 2023-02-24 10:31:44 +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
Darcy Wong
8bf94b3e68 fix(android): Add configure step 2022-10-21 11:27:35 +07:00
Darcy Wong
9535299b84 chore(android): Update KeyboardHarness to use builder script 2022-10-21 09:12:04 +07:00
Darcy Wong
e7e8dc6908 chore(android/samples): Update builder scripts 2022-10-20 11:05:45 +07:00
Darcy Wong
62d2aff518 fix(android/engine): Add keyboardharness target 2022-10-20 08:50:13 +07:00
Darcy Wong
b11145c3ce chore(android): Remove unnecessary build action 2022-10-06 14:26:30 +07:00
Darcy Wong
ba08ababfe fix(android/engine): Fix casing of Samples path 2022-10-06 08:45:29 +07:00
Darcy Wong
b083076b28 refactor(android): Use builder scripts 2022-10-05 10:39:34 +07:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Darcy Wong
68beb6571f fix(android): Move exit 2021-05-28 09:14:06 +07:00
Darcy Wong
399fe011db fix(android): Have clean() exit 2021-05-27 10:29:57 +07:00
Darcy Wong
51872f6e4d fix(android): Add more files/dirs to clean() 2021-05-27 09:13:46 +07:00
Darcy Wong
0d88b36422 fix(android): Check -clean flag if first arg 2021-05-26 09:39:57 +07:00
Darcy Wong
24a0d5831a chore(android): Close if clause 2021-05-25 15:20:18 +07:00
Darcy Wong
599c4f1981 chore(android): Add -clean flag to build script 2021-05-25 14:29:27 +07:00
Darcy Wong
8d8cf035b9 feat(android): Download default resources at build time
Similar to the OEM FirstVoices Android app, this updates the KMAPro `build.sh` script to download the latest default language resources (keyboard and dictionary) as part of the build process.
2020-06-30 13:19:02 +07:00
Darcy Wong
949002f27e fix(android): Update android build script call for FV 2020-04-29 22:16:59 +07:00
Darcy Wong
d87bc5d12f fix(android): Update scripts
* Set base android build.sh to use bash
* Update parse-crowdin.sh to handle Android regions (prefix with `r`)
2020-03-10 13:26:22 +07:00
Marc Durdin
742aee39d7 chore(android): use new version infrastructure 2020-01-29 08:55:19 +11:00
Marc Durdin
92fd5d945c [Android] Add FV app to build scripts 2019-05-27 09:32:58 +10:00
darcywong00
686bb50bc0 Stop warnings being reported during CI builds
-Also updated link to logo2 and copyright date in root readme
2018-02-01 10:35:48 +07:00
Marc Durdin
c6f7cc5f72 Stop gradle daemon from starting when we are running CI 2017-08-21 16:23:02 +07:00
Darcy Wong
2fc20b6ce6 Fix build scripts for Linux
n trying to build Keyman for Android on Linux, the following issues needed to be fixed:

Set `build.sh` and `gradlew` scripts to executable

KMEA/build.sh needs an OS check so build.bat is only called on Windows

web/source/build.sh needs $compiler and $copmiler_warnings values in quotes
2017-07-31 08:36:10 +07:00
darcywong00
6d26d7cd9e Keyman for Android 2.8 Open Source
Copy over the Android source
Update build.sh scripts for new paths
KMEA/build.sh also updated to build KMW and use the artifacts
2017-07-21 11:52:22 +07:00