Revert "Added support for the `n` node version manager (#2078)"
This reverts commit e1989051d0
.
This commit is contained in:
parent
edffdd3d36
commit
433b2d6629
|
@ -860,7 +860,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "if [[ -d \"$HOME/.asdf/shims\" ]]; then\n export PATH=$HOME/.asdf/shims:$PATH\nfi\n\nif [[ -d \"$HOME/.n\" ]]; then\n export N_PREFIX=\"$HOME/.n\"; [[ :$PATH: == *\":$N_PREFIX/bin:\"* ]] || PATH+=\":$N_PREFIX/bin\"\nfi\n\nif [[ \"$(command -v n)\" ]]; then\n n 7.10.0\nelse\n [ -z \"$NVM_DIR\" ] && export NVM_DIR=\"$HOME/.nvm\"\n\n if [[ -s \"$HOME/.nvm/nvm.sh\" ]]; then\n . \"$HOME/.nvm/nvm.sh\"\n elif [[ -x \"$(command -v brew)\" && -s \"$(brew --prefix nvm)/nvm.sh\" ]]; then\n . \"$(brew --prefix nvm)/nvm.sh\"\n fi\n \n if [[ \"$(command -v nvm)\" ]]; then\n nvm install 7.10.0\n else\n echo \"RealmJS requires a node package manager (n or nvm).\"\n exit 1\n fi\nfi\n \nnode ../scripts/download-realm.js ios --sync\n";
|
||||
shellScript = "if [[ -d \"$HOME/.asdf/shims\" ]]; then\n export PATH=$HOME/.asdf/shims:$PATH\nfi\n\n[ -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 \nif [[ \"$(command -v nvm)\" ]]; then\n nvm install 7.10.0\nfi\n \n node ../scripts/download-realm.js ios --sync";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
|
|
Loading…
Reference in New Issue