mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
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. |
||
|---|---|---|
| .. | ||
| ci | ||
| history | ||
| l10n | ||
| mac | ||
| meson | ||
| pr-build-status | ||
| test | ||
| version | ||
| win | ||
| _builder_nvm.sh | ||
| build-download-resources.sh | ||
| build-help.inc.sh | ||
| build-utils.sh | ||
| builder-basic.inc.sh | ||
| builder-full.inc.sh | ||
| builder-report.sh | ||
| htm-link.lua | ||
| html-link.lua | ||
| jq-license.txt | ||
| jq-win64.exe | ||
| jq.inc.sh | ||
| meson-utils.inc.sh | ||
| minimum-versions.inc.sh | ||
| minimum-versions.tests.inc.sh | ||
| node.inc.sh | ||
| offline-help-style-spec.txt | ||
| publish-minimum-versions.sh | ||
| README.md | ||
| report-history.sh | ||
| typescript.inc.sh | ||
| utils.inc.sh | ||
| zip.inc.sh | ||
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