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
24202a6b
Commit
24202a6b
authored
Jan 14, 2012
by
David Dollar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up npm
parent
3330672a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
compile
bin/compile
+2
-10
No files found.
bin/compile
View file @
24202a6b
...
@@ -95,7 +95,6 @@ function package_download() {
...
@@ -95,7 +95,6 @@ function package_download() {
mkdir
-p
$location
mkdir
-p
$location
package
=
"http://
${
S3_BUCKET
}
.s3.amazonaws.com/
$engine
-
$version
.tgz"
package
=
"http://
${
S3_BUCKET
}
.s3.amazonaws.com/
$engine
-
$version
.tgz"
echo
"downloading
$engine
$version
"
curl
$package
-s
-o
- |
tar
xzf -
-C
$location
curl
$package
-s
-o
- |
tar
xzf -
-C
$location
}
}
...
@@ -171,15 +170,8 @@ fi
...
@@ -171,15 +170,8 @@ fi
# install dependencies with npm
# install dependencies with npm
echo
"-----> Installing dependencies with npm"
echo
"-----> Installing dependencies with npm"
cd
$BUILD_DIR
run_npm
"install"
HOME
=
"
$BUILD_DIR
"
$VENDORED_NODE
/bin/node
$VENDORED_NPM
/cli.js prune 2>&1 | indent
run_npm
"rebuild"
HOME
=
"
$BUILD_DIR
"
$VENDORED_NODE
/bin/node
$VENDORED_NPM
/cli.js
install
2>&1 | indent
if
[
"
${
PIPESTATUS
[*]
}
"
!=
"0 0"
]
;
then
error
"Failed to install dependencies with npm"
else
echo
" Dependencies installed"
fi
echo
"Dependencies installed"
| indent
echo
"Dependencies installed"
| indent
# repack cache with new assets
# repack cache with new assets
...
...
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