mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-11 10:07:42 +00:00
chore(mac): put coreutils on path on mac and improve docs
Ensure realpath and other coreutils tools we need are on the path when called from build.sh. And tweak documentation around Emscripten. Test-bot: skip
This commit is contained in:
parent
d3ff993b94
commit
24448ebec2
2 changed files with 10 additions and 2 deletions
4
docs/build/macos.md
vendored
4
docs/build/macos.md
vendored
|
|
@ -127,8 +127,8 @@ To install emscripten, `cd` to an appropriate path, and then:
|
|||
```bash
|
||||
git clone https://github.com/emscripten-core/emsdk
|
||||
cd emsdk
|
||||
emsdk install 3.1.58
|
||||
emsdk activate 3.1.58
|
||||
./emsdk install 3.1.64
|
||||
./emsdk activate 3.1.64
|
||||
cd upstream/emscripten
|
||||
npm install
|
||||
export EMSCRIPTEN_BASE="$(pwd)"
|
||||
|
|
|
|||
|
|
@ -309,3 +309,11 @@ _builder_basic_find_should_sentry_release
|
|||
# correct version
|
||||
#
|
||||
_builder_basic_set_keyman_standard_build_path
|
||||
|
||||
if builder_is_macos; then
|
||||
if [[ -z "${HOMEBREW_PREFIX+x}" ]]; then
|
||||
HOMEBREW_PREFIX=`brew --prefix`
|
||||
fi
|
||||
|
||||
export PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue