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
982a1371
Commit
982a1371
authored
Jan 07, 2015
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
announcement about new version
parent
70e997a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
compile
bin/compile
+4
-0
test
bin/test
+7
-0
No files found.
bin/compile
View file @
982a1371
...
...
@@ -24,6 +24,10 @@ unset GIT_DIR
# Provide hook to deal with errors
build_failed
()
{
head
"Build failed"
info
"This is a new Node.js buildpack. To revert to the previous version:"
info
"heroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs#v63"
info
"We want you to be able to use the latest buildpack. Please submit a ticket if you can't:"
info
"https://help.heroku.com/"
echo
""
cat
$warnings
| indent
}
...
...
bin/test
View file @
982a1371
...
...
@@ -54,6 +54,13 @@ testOldNpm() {
assertCapturedSuccess
}
testFailingBuild
()
{
compile
"failing-build"
assertCaptured
"Build failed"
assertCaptured
"This is a new Node.js buildpack"
assertCapturedError 1
""
}
testInfoEmpty
()
{
compile
"info-empty"
assertCaptured
"Node engine: unspecified"
...
...
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