Commit 570a134a authored by Hunter Loftis's avatar Hunter Loftis

use dist-test on iojs.org

parent 0048d0ca
...@@ -96,13 +96,13 @@ install_iojs() { ...@@ -96,13 +96,13 @@ install_iojs() {
iojs_engine=$(curl --silent --get --data-urlencode "range=${iojs_engine}" https://semver.herokuapp.com/iojs/resolve) iojs_engine=$(curl --silent --get --data-urlencode "range=${iojs_engine}" https://semver.herokuapp.com/iojs/resolve)
fi fi
# TODO: remove nightly, point at /dist once that's available # TODO: point at /dist once that's available
info "Downloading and installing iojs $iojs_engine..." info "Downloading and installing iojs $iojs_engine..."
download_url="https://iojs.org/download/nightly/v$iojs_engine-nightly201501135ea716d895/iojs-v$iojs_engine-nightly201501135ea716d895-linux-x64.tar.gz" download_url="https://iojs.org/dist-test/v$iojs_engine/iojs-v$iojs_engine-linux-x64.tar.gz"
curl $download_url -s -o - | tar xzf - -C /tmp curl $download_url -s -o - | tar xzf - -C /tmp
# Move iojs/node (and npm) binaries into .heroku/node and make them executable # Move iojs/node (and npm) binaries into .heroku/node and make them executable
mv /tmp/iojs-v$iojs_engine-nightly201501135ea716d895-linux-x64/* $heroku_dir/node mv /tmp/iojs-v$iojs_engine-linux-x64/* $heroku_dir/node
chmod +x $heroku_dir/node/bin/* chmod +x $heroku_dir/node/bin/*
PATH=$heroku_dir/node/bin:$PATH PATH=$heroku_dir/node/bin:$PATH
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment