mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 13:33:15 +00:00
15 lines
534 B
Bash
15 lines
534 B
Bash
|
|
# This `.xcode.env` file is versioned and is used to source the environment
|
||
|
|
# used when running script phases inside Xcode.
|
||
|
|
# To customize your local environment, you can create an `.xcode.env.local`
|
||
|
|
# file that is not versioned.
|
||
|
|
|
||
|
|
# NODE_BINARY variable contains the PATH to the node executable.
|
||
|
|
#
|
||
|
|
# nvm support: source nvm.sh so `node` resolves inside Xcode build phases.
|
||
|
|
if [ -s "$HOME/.nvm/nvm.sh" ]; then
|
||
|
|
. "$HOME/.nvm/nvm.sh" --no-use
|
||
|
|
export NODE_BINARY="$(nvm which current)"
|
||
|
|
else
|
||
|
|
export NODE_BINARY=$(command -v node)
|
||
|
|
fi
|