Commit 6211e056 authored by Hunter Loftis's avatar Hunter Loftis

Merge pull request #168 from heroku/new-announcement

New announcement
parents 70e997a9 b1c0e1d0
......@@ -26,6 +26,13 @@ build_failed() {
head "Build failed"
echo ""
cat $warnings | indent
info "We're sorry this build is failing! If you can't find the issue in application code,"
info "please submit a ticket so we can help: https://help.heroku.com/"
info "You can also try reverting to our legacy Node.js buildpack:"
info "heroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs#v63"
info ""
info "Love,"
info "Heroku"
}
trap build_failed ERR
......
......@@ -54,6 +54,13 @@ testOldNpm() {
assertCapturedSuccess
}
testFailingBuild() {
compile "failing-build"
assertCaptured "Build failed"
assertCaptured "We're sorry this build is failing"
assertCapturedError 1 ""
}
testInfoEmpty() {
compile "info-empty"
assertCaptured "Node engine: unspecified"
......
{
"name": "node-buildpack-test-app",
"version": "0.0.1",
"description": "node buildpack integration test app",
"repository" : {
"type" : "git",
"url" : "http://github.com/example/example.git"
},
"dependencies": {
"hashish": "*"
},
"engines": {
"node": "0.10.x"
},
"scripts": {
"postinstall": "exit 1"
}
}
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