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
c31bf2cf
Commit
c31bf2cf
authored
Apr 24, 2015
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated language
parent
222ae73a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
build.sh
lib/build.sh
+2
-2
run
test/run
+3
-2
No files found.
lib/build.sh
View file @
c31bf2cf
...
@@ -3,11 +3,11 @@ build_failed() {
...
@@ -3,11 +3,11 @@ build_failed() {
head
"Build failed"
head
"Build failed"
echo
""
echo
""
info
"We're sorry this build is failing!"
info
"We're sorry this build is failing!"
info
"Are you running into
common issues
?"
info
"Are you running into
a common issue
?"
info
"https://devcenter.heroku.com/articles/troubleshooting-node-deploys"
info
"https://devcenter.heroku.com/articles/troubleshooting-node-deploys"
info
""
info
""
if
[
"
$warn
"
!=
""
]
;
then
if
[
"
$warn
"
!=
""
]
;
then
info
"
We recommend fixing these issue
s:"
info
"
During the build we spotted some likely problem
s:"
echo
$warn
| indent
echo
$warn
| indent
else
else
info
"If you're stuck, please submit a ticket so we can help:"
info
"If you're stuck, please submit a ticket so we can help:"
...
...
test/run
View file @
c31bf2cf
...
@@ -113,7 +113,7 @@ testFailingBuild() {
...
@@ -113,7 +113,7 @@ testFailingBuild() {
testWarningsOnFailure
()
{
testWarningsOnFailure
()
{
compile
"many-warnings"
compile
"many-warnings"
assertCaptured
"
We recommend fixing these issue
s"
assertCaptured
"
troubleshooting-node-deploy
s"
assertCaptured
"Node version not specified"
assertCaptured
"Node version not specified"
assertCaptured
"node_modules checked into source"
assertCaptured
"node_modules checked into source"
assertCaptured
"has several known issues"
assertCaptured
"has several known issues"
...
@@ -123,7 +123,8 @@ testWarningsOnFailure() {
...
@@ -123,7 +123,8 @@ testWarningsOnFailure() {
testTicketOnFailure
()
{
testTicketOnFailure
()
{
compile
"invalid-dependency"
compile
"invalid-dependency"
assertNotCaptured
"We recommend fixing these issues"
assertCaptured
"troubleshooting-node-deploys"
assertNotCaptured
"During the build we spotted some likely problems"
assertCaptured
"please submit a ticket"
assertCaptured
"please submit a ticket"
assertCapturedError
assertCapturedError
}
}
...
...
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