Commit graph

1141 commits

Author SHA1 Message Date
Eberhard Beilharz
c61535d56a
fix(android): Fix build-utils.sh 2023-05-25 12:44:03 +02:00
Marc Durdin
f8535c469e
chore: Update resources/builder.inc.sh 2023-05-22 11:32:45 +10:00
Marc Durdin
be2c0ccf45 fix(common): cleanup logging in builder 2023-05-19 16:36:05 +07:00
Marc Durdin
97837d2021 feat(common): add builder_run_action shorthand function 2023-05-10 12:50:39 +07:00
Marc Durdin
292886479f
Merge pull request #8698 from keymanapp/chore/common/8693-set-eu-all-build-scripts
chore(common): `set -eu` in build-utils.sh
2023-05-05 13:18:52 +10:00
Marc Durdin
4eca9c3ecf
Merge pull request #8692 from keymanapp/chore/common/8485-common-and-resources-tests
chore(common): run common and resources tests
2023-05-02 15:17:38 +10:00
Marc Durdin
a1326ad47b chore(common): set -eu in build-utils.sh
Enforces -e (abort script on error) and -u (error on unset variable use)
on all scripts that source build-utils.sh. This may result in some
downstream build failures which we'll need to address before merge to
master.
2023-05-02 12:14:05 +07:00
Marc Durdin
8499956754
Update resources/build/test/test.sh 2023-04-29 12:58:39 +10:00
Marc Durdin
8da501c359
Update resources/build.sh 2023-04-29 12:58:32 +10:00
Marc Durdin
e22cb1b577
Update resources/build.sh 2023-04-29 12:58:26 +10:00
Marc Durdin
5a6caf8508 chore: move set -eu change to #8693 2023-04-28 14:48:30 +07:00
Marc Durdin
9f74e735de chore(common): fixup build scripts 2023-04-28 14:30:52 +07:00
Marc Durdin
74f9276695 chore(common): run common and resources tests
This sets us up to run all common/ and resources/ tests from a single
script, common/build.sh. This test will be run on each platform for all
changes made in common/ or resources/.

Also renamed files and paths for consistency in resources/ and updated
tests accordingly.
2023-04-28 14:07:34 +07:00
Steven R. Loomis
41cf277c1c feat(core): fix core side build 🙀
- fix updated standard ldml file
- hotfix for incorrectly named ldml test file
- don't test transforms in k_003 for now

for #7377
2023-04-27 12:37:56 -05:00
Steven R. Loomis
4a55a5aba4 fix(resources): workaround schema issue 🙀
- <string> element was getting aliased to primitive type 'string'
- rename to stringVariable in the schema, keep properties the same

for #7377
2023-04-27 12:21:03 -05:00
Steven R. Loomis
d053183c2a chore(resources): ldml update 🙀
- from latest cldr:keyboard-preview b3da9e80354a83b5ff29690e9f0ce4a0f5d3b7d2

for #7377
2023-04-27 12:21:03 -05:00
Marc Durdin
a90b045016 fix(common): builder parse multi-param order
If a build script specified, e.g. :kmc-keyboard, :kmc-package, :kmc as
three targets, in that order, then passing :kmc as a parameter would
fail, because :kmc-keyboard, :kmc-package would be emitted to the match
result before finding :kmc.
2023-04-25 14:50:24 +07:00
Steven R. Loomis
4247cad312
Merge branch 'master' into feat/core-8435-repertoire-test-epic-ldml 2023-04-24 09:19:30 -05:00
Marc Durdin
cb0c39f1aa fix(common): builder - pass deps flags to child scripts 2023-04-24 09:52:22 +07:00
Steven R. Loomis
ee0c660c5a
Merge branch 'master' into feat/core-8435-repertoire-test-epic-ldml 2023-04-14 08:57:18 -05:00
Marc Durdin
57087e4cca
Merge pull request #8587 from keymanapp/fix/common/7310-npm-publish-needs-to-hardcode-dep-versions
fix(common): consolidate npm publishing
2023-04-13 18:08:30 +10:00
Marc Durdin
10a59f789d fix(common): support npm pack and consolidate npm publishing
Fixes #8586.

All npm publish actions in the repository are now run as part of the
Developer release build, hosted at present by kmc, until we setup a
higher-level build script to do it.

Adds a 'pack' action which mirrors 'publish' for all npm packages.

Removes unnecessary dev dependencies of models-templates and
models-wordbreakers from kmc-model.

Web Release build CI step has been updated to check for presence of
.build-builder.
2023-04-12 11:55:31 +07:00
Marc Durdin
8f48c59bdb fix(common): set dependency versions when publishing npm packages
Fixes #7310.
2023-04-12 10:59:16 +07:00
Steven R. Loomis
458e41c482
Merge branch 'master' into feat/core-8435-repertoire-test-epic-ldml 2023-04-11 19:06:02 -05:00
jahorton
ccbc1b3b51 fix(ios): fixes xcode-triggered debug, run builds by defining missing env var 2023-04-11 09:05:50 +07:00
Marc Durdin
9152ab52e9
Merge branch 'master' into feat/core-8435-repertoire-test-epic-ldml 2023-04-10 15:15:00 +10:00
Marc Durdin
27ce5a6f83
Merge pull request #8567 from keymanapp/docs/8542-build-utils-dependency-clarification
docs: clarify dependency meanings in build-utils
2023-04-10 14:16:56 +10:00
Darcy Wong
d2cacd58f3
Merge pull request #8543 from keymanapp/chore/android/java-11
chore(android): Update projects to use Java 11
2023-04-10 09:20:02 +07:00
Marc Durdin
95b7cb62b4 docs: clarify dependency meanings in build-utils
Relates to #8542.
2023-04-10 08:57:48 +07:00
Marc Durdin
c5d79a9fb4
Merge pull request #7330 from keymanapp/feature-kmcompx
epic: kmcompx - kmcmpdll cross-platform compiler 🚑
2023-04-10 07:34:04 +10:00
Steven R. Loomis
58950720d2 fix(resources): hotpatch to jis/abnt 🙀
- with merge, tests found bugs in the CLDR files!
- ≈ 0c028869bf in CLDR

for #8552
2023-03-31 17:15:58 -05:00
Darcy Wong
c7e65409a3 fix(android): Move set_java_home to build-utils 2023-03-31 13:07:35 +07:00
Marc Durdin
787b32ba34
Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
Joshua Horton
6df63eddc5
Merge pull request #8549 from keymanapp/chore/master-to-esmodule-merge-a17s9 2023-03-31 08:51:27 +07:00
Joshua A. Horton
376fb0ba1e chore: Merge branch 'master' into chore/master-to-esmodule-merge-a17s9 2023-03-30 19:12:06 +07:00
Marc Durdin
23aafebfc2
Merge branch 'feature-kmcompx' into chore/master-to-kmcompx-merge-a17s9 2023-03-29 14:47:58 +11:00
Marc Durdin
abeb6a3bec chore: Merge branch 'feature-kmcompx' into chore/master-to-kmcompx-merge-a17s9 2023-03-29 10:40:04 +07:00
Steven R. Loomis
2c6be3a85d chore(resources): ldml update for abnt2/iso 🙀
- CLDR: 7f3e1b9d6c6c633d921316d2b5bd0aa693dc15e6
- in-progress data from unicode-org/cldr#2802

For: #8161
2023-03-28 16:44:40 -05:00
Steven R. Loomis
d49b1d5dd7
Merge branch 'master' into feat/developer/8161-jis-abnt2-epic-ldml 2023-03-27 16:45:34 -05:00
Marc Durdin
2a871c8165 chore(developer): publish all required npm modules 2023-03-27 11:36:21 +07:00
Steven R. Loomis
3612039d70 chore(resources): ldml update for abnt2/iso 🙀
- the test cases found an error in the xml. Fixed.
- added core test cases directly out of resources/standards-data

For: #8161
2023-03-24 13:58:10 -05:00
Steven R. Loomis
3488bdd829 chore(resources): ldml update for abnt2/iso 🙀
- uses in-progress data from https://github.com/unicode-org/cldr/pull/2802

For: #8161
2023-03-24 13:01:29 -05:00
Joshua A. Horton
b85087f392 chore(web): Merge branch 'master' into chore/web/update-feature-esmodule-for-configure-fix 2023-03-23 15:15:07 +07:00
Marc Durdin
4cc90f2722
chore(common): use mac /usr/bin/stat rather than homebrew version 2023-03-23 16:53:32 +11:00
Marc Durdin
062b947363 chore: Merge branch 'feature-kmcompx' into chore/merge-master-into-feature-kmcompx-a17s9 2023-03-23 10:08:59 +07:00
Marc Durdin
549a8e009e chore(common): define BUILDER_CONFIGURATION env var 2023-03-23 09:21:55 +07:00
Marc Durdin
48bc338f26 chore: Merge branch 'feature-kmcompx' into chore/kmcompx-master-merge-a17s9 2023-03-21 13:51:25 +07:00
Marc Durdin
7cd6b00946 chore(common): prevent multiple npm ci runs in child scripts
Fixes #8471.

Ensures that `npm take-forever` (aka `npm ci`, `npm install`) only runs
once during a parent/child build script run.

Note that this also works even where build scripts manually call other
build scripts (e.g. input-processor as it is currently calling kmc
build manually) -- though this is not a recommended practice.
2023-03-21 11:08:22 +07:00
Marc Durdin
d1c8061b5f chore: Merge branch 'feature-kmcompx' into chore/merge-master-into-kmcompx 2023-03-16 12:29:17 +07:00
Steven R. Loomis
0138b69939 chore(resources): ldml update to latest tech-preview 🙀
- No, transforms aren't included here, but everything else is
- dc112dab58 in latest keyboard-preview

#7042
2023-03-14 17:38:30 -05:00