spiegel-keyman/resources/build
Eberhard Beilharz 2d8a4aeebc
maint(core): fix option defaults for Meson >= 1.1
Meson 1.1 changed the name of the options file from `meson_options.txt`
to `meson.options`. Currently we're stuck with Meson 1.0 as minimum
Meson version because we still support Ubuntu 22.04 Jammy, but on some
machines a newer version of meson gets installed which causes the
options to be ignored.

The first attempt to simply symlink or copy `meson_options.txt` to
`meson.options` failed because git on Windows doesn't support symlinks
by default, and Meson complains if it finds two options files (#15127).

Fortunately not having an options file is only a problem for Core where
we have one option in the options file that defaults to true. The solution
implemented in this change is to always pass the option to Meson.

Test-bot: skip
2025-11-10 15:24:46 +01:00
..
ci maint(resources): include sourcemaps in npm publish 2025-10-29 17:12:52 +01:00
history maint(common): rename shellHelperFunctions.sh to utils.inc.sh 2025-08-02 06:58:40 +10:00
l10n chore(common): Add GitHub action to sync crowdin source 2021-09-14 07:11:07 +07:00
mac maint(mac): use mac_ prefix for functions in mac.inc.sh 2025-08-20 05:40:32 +02:00
meson maint(common): use cpp_std=c++17 in meson project default_options 2025-08-01 10:23:57 +10:00
pr-build-status maint(resources): add npm pack/publish to pr-build-status bot 2025-10-29 10:29:14 +01:00
test maint(linux): check that command is at beginning of line 2025-09-08 16:52:56 +02:00
version Update resources/build/version/README.md 2025-08-28 04:53:36 +02:00
win maint(windows): check code signatures only in CI builds 2025-09-23 10:32:55 +02:00
_builder_nvm.sh fix(common): properly use newly installed node version 2025-05-27 17:07:23 +02:00
build-download-resources.sh fix(common): Add retries to curl for downloads.keyman.com query 2024-04-29 10:04:50 +07:00
build-help.inc.sh refactor(common): fixup help path script references 2024-09-16 06:19:14 +07:00
build-utils.sh maint(common): re-add build-utils.sh in order to pass all builds 2025-08-05 10:56:07 +10:00
builder-basic.inc.sh fix(common): some more tests running successfully in a container 2025-09-18 11:24:53 +02:00
builder-full.inc.sh maint(common): rename and move node-related script functions into node.inc.sh 2025-08-02 13:34:29 +10:00
builder-report.sh maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00
htm-link.lua fix(windows): context help links 2021-03-09 12:35:43 +11:00
html-link.lua chore: add global to lua 2021-03-09 14:32:18 +11:00
jq-license.txt fix(common): build check failed 2020-03-18 14:55:37 +11:00
jq-win64.exe chore(common/resources): use shared scopes definition 2020-05-19 17:08:57 +10:00
jq.inc.sh maint(common): rename and move node-related script functions into node.inc.sh 2025-08-02 13:34:29 +10:00
meson-utils.inc.sh maint(common): consolidate standard.meson.build configuration 2025-04-30 09:16:43 +07:00
minimum-versions.inc.sh maint(core): fix option defaults for Meson >= 1.1 2025-11-10 15:24:46 +01:00
minimum-versions.tests.inc.sh chore(common): tweak tests for cross-platform compat 2025-04-30 15:01:27 +07:00
node.inc.sh maint(resources): skip nvm in npm-publish script 2025-10-28 15:28:24 +01:00
offline-help-style-spec.txt feat(common): unprunes <kbd> styling 2021-05-27 08:55:07 +07:00
publish-minimum-versions.sh fix(resources): ignore KEYMAN_VERSION_FOR_FILENAME in test 2025-09-11 06:49:27 +02:00
README.md maint(resources): move build trigger scripts into resources/teamcity 2025-08-27 07:28:24 +02:00
report-history.sh maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00
typescript.inc.sh maint(resources): nest unit tests under parent block 2025-10-06 16:09:47 +02:00
utils.inc.sh maint(common): reorganize mac/ios build script includes 2025-08-05 12:57:32 +10:00
zip.inc.sh maint(resources): use command instead of where to find 7z.exe 2025-09-25 08:56:06 +02:00

Various tools

builder-basic.inc.sh, builder-full.inc.sh

There are two wrappers for builder.inc.sh:

  • resources/build/builder-basic.inc.sh - Keyman-specific builder-based script that also sets version environment, repo base path, and other environment variables
  • resources/build/builder-full.inc.sh - Keyman-specific builder-based script, calls builder-basic.inc.sh, sets cwd to script path, and on exit verifies that builder functions were used appropriately.

All build.sh scripts should use builder-full.inc.sh. Some helper scripts may use builder-basic.inc.sh. No scripts in this repo (apart from tests) should use builder.inc.sh directly.

builder.inc.sh is documented in builder.md

jq/jq-win64

jq resp. jq-win64.exe is used by various builds for json query.

Official source: https://stedolan.github.io/jq/. License