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
536ae3dd
Commit
536ae3dd
authored
Dec 12, 2014
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #141 from heroku/yoga-fix-info-typo
fix typo
parents
c4280451
0a4e4c64
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
1 deletion
+27
-1
README.md
README.md
+1
-0
compile
bin/compile
+1
-1
test
bin/test
+10
-0
README.md
test/info-empty/README.md
+1
-0
package.json
test/info-empty/package.json
+14
-0
No files found.
README.md
View file @
536ae3dd
...
...
@@ -131,6 +131,7 @@ The next features in the pipeline include:
-
Specifying io.js as your node engine
-
Providing proxy settings for your locked-down enterprise environment
-
Dynamically adjusting to different container sizes (especially regarding memory)
## Feedback
...
...
bin/compile
View file @
536ae3dd
...
...
@@ -73,7 +73,7 @@ test -d $cache_dir/node/node_modules && modules_cached=true || modules_cached=fa
echo
""
info
"Node engine:
${
node_engine
:-
unspecified
}
"
info
"Npm engine:
${
npm_engine
:
info
lt
}
"
info
"Npm engine:
${
npm_engine
:
-
defau
lt
}
"
info
"Start mechanism:
${
start_method
:-
none
}
"
info
"node_modules source:
${
modules_source
:-
none
}
"
info
"node_modules cached:
$modules_cached
"
...
...
bin/test
View file @
536ae3dd
...
...
@@ -42,6 +42,16 @@ testUnstableVersion() {
assertCapturedSuccess
}
testInfoEmpty
()
{
compile
"info-empty"
assertCaptured
"Node engine: unspecified"
assertCaptured
"Npm engine: default"
assertCaptured
"Start mechanism: none"
assertCaptured
"node_modules source: package.json"
assertCaptured
"node_modules cached: false"
assertCapturedSuccess
}
testDangerousRangeStar
()
{
compile
"dangerous-range-star"
assertCaptured
"PRO TIP: Avoid semver ranges like '*'"
...
...
test/info-empty/README.md
0 → 100644
View file @
536ae3dd
A fake README, to keep npm from polluting stderr.
\ No newline at end of file
test/info-empty/package.json
0 → 100644
View file @
536ae3dd
{
"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"
:
{
}
}
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