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
c31bd679
Commit
c31bd679
authored
Oct 23, 2013
by
zeke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redirect npm install's stderr to stdout
parent
eae9a9df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
compile
bin/compile
+2
-2
test
bin/test
+2
-1
No files found.
bin/compile
View file @
c31bd679
...
@@ -74,10 +74,10 @@ if test -d $cache_dir; then
...
@@ -74,10 +74,10 @@ if test -d $cache_dir; then
fi
fi
status
"Installing dependencies"
status
"Installing dependencies"
npm
install
--production
| indent
npm
install
--production
2>&1
| indent
status
"Pruning unused dependencies"
status
"Pruning unused dependencies"
npm prune | indent
npm prune
2>&1
| indent
status
"Caching node_modules for future builds"
status
"Caching node_modules for future builds"
rm
-rf
$cache_dir
rm
-rf
$cache_dir
...
...
bin/test
View file @
c31bd679
...
@@ -59,7 +59,8 @@ testProfileCreated() {
...
@@ -59,7 +59,8 @@ testProfileCreated() {
testInvalidDependency
()
{
testInvalidDependency
()
{
compile
"invalid-dependency"
compile
"invalid-dependency"
assertCapturedError 1
"not in the npm registry"
assertCaptured
"not in the npm registry"
assertCapturedError 1
""
}
}
testNodeModulesCached
()
{
testNodeModulesCached
()
{
...
...
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