Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
570a134a
Commit
570a134a
authored
Jan 13, 2015
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use dist-test on iojs.org
parent
0048d0ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
build.sh
lib/build.sh
+3
-3
No files found.
lib/build.sh
View file @
570a134a
...
@@ -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/d
ownload/nightly/v
$iojs_engine
-nightly201501135ea716d895/iojs-v
$iojs_engine
-nightly201501135ea716d895
-linux-x64.tar.gz"
download_url
=
"https://iojs.org/d
ist-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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment