diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-06-02 12:53:16 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-06-02 12:53:16 -0700 |
commit | e53730c3dccc218a889efb95b1326960fec5707f (patch) | |
tree | b8ab18fcb1a8b9c03a5bbf2370f65666c3f9e608 /tools | |
parent | 697d68681df55c6256fe27cded33b07b50e9f187 (diff) |
fix macos installation script
Diffstat (limited to 'tools')
-rw-r--r-- | tools/internal_ci/helper_scripts/prepare_build_macos_rc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc index 2f97b0f705..3eccff80b4 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc +++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc @@ -56,9 +56,14 @@ sudo installer -pkg dotnet-dev-osx-x64.1.0.1.pkg -target / ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/dotnet dotnet --version # bootstrap dotnet SDK -# Node +# nvm wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash -. ~/.nvm/nvm.sh +# bootstrap nvm silently & without terminating this script +set +ex +source ~/.nvm/nvm.sh +set -ex + +# node nvm install 4 nvm alias default 4 npm update npm -g |