Try to use mapbox node mirror

This commit is contained in:
Patrick Niklaus 2016-12-09 15:28:28 +00:00
parent 62f0e11bfa
commit ad3fd46da5
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
export NVM_NODEJS_ORG_MIRROR=https://s3.amazonaws.com/mapbox/vendor/nodejs
# here we set up the node version on the fly. currently only node 4, but can be used for more values if need be
# This is done manually so that the build works the same on OS X
rm -rf ~/.nvm/ && git clone --depth 1 --branch v0.30.1 https://github.com/creationix/nvm.git ~/.nvm