spiegel-keyman/resources/build
Eberhard Beilharz 051b32219f
Merge pull request #15422 from keymanapp/chore/common/nodepath
maint(common): fix build when using different default node version

Currently automatically setting the node version (by setting the `KEYMAN_USE_NVM` env variable) is kind of broken on Linux because it still requires to put `~/.keyman/node` on the PATH. This basically limits us to the node version Keyman needs.

This change checks the path variable and adds `~/.keyman/node` if necessary. This allows to not have that on the path, thus allowing to use different node versions outside of Keyman, but still allows Keyman to build with the node version it needs.
2026-01-14 11:04:32 +01:00
..
ci maint(windows): rename action and clarify documentation 2025-12-17 04:46:07 +11:00
history maint(common): rename shellHelperFunctions.sh to utils.inc.sh 2025-08-02 06:58:40 +10:00
l10n docs(common): Update Crowdin CLI documentation 2026-01-13 10:50:00 +07:00
mac maint(mac): use mac_ prefix for functions in mac.inc.sh 2025-08-20 05:40:32 +02:00
meson feat(windows): address review comments 2025-11-24 16:26:06 +10:00
pr-build-status maint(resources): add new ARM64 test status check to PR build status check 2026-01-08 16:05:54 +11:00
test maint(resources): improve builder_launch to allow for arbitrary parameters 2025-11-14 10:44:35 +01:00
version maint: add script to report on recent changes to stable release 2025-12-23 12:30:53 +11:00
win chore(windows): Merge branch 'epic/win-arm' into feat/windows/64x-pure-forwarder-wix-3 2025-12-09 14:00:45 +10:00
_builder_nvm.sh docs(common): update documentation comments 2026-01-14 11:03:09 +01: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(common): allow to use different node version 2026-01-13 16:28:43 +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