Readd support for nvm to Xcode project

This commit is contained in:
blagoev 2017-10-02 14:12:55 +03:00
parent 69c85c8b19
commit f2030cae06
1 changed files with 1 additions and 1 deletions

View File

@ -883,7 +883,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "node ../scripts/download-realm.js ios --sync";
shellScript = "[ -z \"$NVM_DIR\" ] && export NVM_DIR=\"$HOME/.nvm\"\n\nif [[ -s \"$HOME/.nvm/nvm.sh\" ]]; then\n . \"$HOME/.nvm/nvm.sh\"\nelif [[ -x \"$(command -v brew)\" && -s \"$(brew --prefix nvm)/nvm.sh\" ]]; then\n . \"$(brew --prefix nvm)/nvm.sh\"\nfi\n\nnode ../scripts/download-realm.js ios --sync";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */