Created
March 20, 2018 21:27
-
-
Save hurshagrawal/6b7fb1cf231eb37626912ad170f186c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First set the path to sentry.properties | |
export SENTRY_PROPERTIES=sentry.properties | |
# Setup nvm and set node | |
[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm" | |
if [[ -s "$HOME/.nvm/nvm.sh" ]]; then | |
. "$HOME/.nvm/nvm.sh" | |
elif [[ -x "$(command -v brew)" && -s "$(brew --prefix nvm)/nvm.sh" ]]; then | |
. "$(brew --prefix nvm)/nvm.sh" | |
fi | |
# Set up the nodenv node version manager if present | |
if [[ -x "$HOME/.nodenv/bin/nodenv" ]]; then | |
eval "$("$HOME/.nodenv/bin/nodenv" init -)" | |
fi | |
[ -z "$NODE_BINARY" ] && export NODE_BINARY="node" | |
$NODE_BINARY ../node_modules/@sentry/cli/bin/sentry-cli react-native xcode \ | |
../node_modules/react-native/scripts/react-native-xcode.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment