Added submodules test
This commit is contained in:
1
tests/apps/gitsubmodules/Procfile
Normal file
1
tests/apps/gitsubmodules/Procfile
Normal file
@@ -0,0 +1 @@
|
|||||||
|
web: bin/node node-js-sample/web.js
|
||||||
2
tests/apps/gitsubmodules/check_deploy
Executable file
2
tests/apps/gitsubmodules/check_deploy
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e; output="$(curl -s $1)"; echo $output; test "$output" == "Hello World!"
|
||||||
11
tests/apps/gitsubmodules/package.json
Normal file
11
tests/apps/gitsubmodules/package.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "node-example",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"dependencies": {
|
||||||
|
"express": "~3.3.4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "0.10.x",
|
||||||
|
"npm": "1.3.x"
|
||||||
|
}
|
||||||
|
}
|
||||||
2
tests/apps/gitsubmodules/pre-commit
Executable file
2
tests/apps/gitsubmodules/pre-commit
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
git submodule add https://github.com/heroku/node-js-sample.git node-js-sample
|
||||||
Reference in New Issue
Block a user