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
f70f0256
Commit
f70f0256
authored
Dec 30, 2014
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #153 from heroku/yoga-detect-server
add missing cache tests, detect server.js directly
parents
b74bef6b
7efd47b9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
0 deletions
+34
-0
detect
bin/detect
+2
-0
README.md
test/node-modules-cache-1/README.md
+1
-0
package.json
test/node-modules-cache-1/package.json
+15
-0
README.md
test/node-modules-cache-2/README.md
+1
-0
package.json
test/node-modules-cache-2/package.json
+15
-0
No files found.
bin/detect
View file @
f70f0256
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
if
[
-f
$1
/package.json
]
;
then
if
[
-f
$1
/package.json
]
;
then
echo
"Node.js"
&&
exit
0
echo
"Node.js"
&&
exit
0
elif
[
-f
$1
/server.js
]
;
then
echo
"Node.js"
&&
exit
0
else
else
echo
"no"
&&
exit
1
echo
"no"
&&
exit
1
fi
fi
test/node-modules-cache-1/README.md
0 → 100644
View file @
f70f0256
A fake README, to keep npm from polluting stderr.
\ No newline at end of file
test/node-modules-cache-1/package.json
0 → 100644
View file @
f70f0256
{
"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"
:
{
"lodash"
:
"1.0.0"
},
"engines"
:
{
"node"
:
"~0.10.0"
}
}
test/node-modules-cache-2/README.md
0 → 100644
View file @
f70f0256
A fake README, to keep npm from polluting stderr.
\ No newline at end of file
test/node-modules-cache-2/package.json
0 → 100644
View file @
f70f0256
{
"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"
:
{
"lodash"
:
"^1.0.0"
},
"engines"
:
{
"node"
:
"~0.10.0"
}
}
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