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
e9dd1063
Commit
e9dd1063
authored
Apr 22, 2015
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #219 from heroku/makefile
Makefile
parents
34cffc9b
346b39d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
24 deletions
+13
-24
README.md
README.md
+3
-3
makefile
makefile
+10
-0
docker
test/docker
+0
-21
No files found.
README.md
View file @
e9dd1063
...
@@ -209,14 +209,14 @@ Heroku's Cedar and Cedar-14 containers.
...
@@ -209,14 +209,14 @@ Heroku's Cedar and Cedar-14 containers.
To run the test suite:
To run the test suite:
```
```
test/docker
make test
```
```
Or to just test in cedar or cedar-14:
Or to just test in cedar or cedar-14:
```
```
test/docker cedar
make test-cedar-10
test/docker
cedar-14
make test-
cedar-14
```
```
The tests are run via the vendored
[
shunit2
](
http://shunit2.googlecode.com/svn/trunk/source/2.1/doc/shunit2.html
)
The tests are run via the vendored
[
shunit2
](
http://shunit2.googlecode.com/svn/trunk/source/2.1/doc/shunit2.html
)
...
...
makefile
0 → 100644
View file @
e9dd1063
test
:
test-cedar-14 test-cedar-10
test-cedar-14
:
@
echo
"Running tests in docker (cedar-14)..."
@
docker run
-v
$(
shell
pwd
)
:/buildpack:ro
--rm
-it
heroku/cedar:14 bash
-c
'cp -r /buildpack /buildpack_test; cd /buildpack_test/; test/run;'
@
echo
""
test-cedar-10
:
@
echo
"Running tests in docker (cedar)..."
@
docker run
-v
$(
shell
pwd
)
:/buildpack:ro
--rm
-it
fabiokung/cedar bash
-c
'cp -r /buildpack /buildpack_test; cd /buildpack_test/; test/run;'
test/docker
deleted
100755 → 0
View file @
34cffc9b
#!/usr/bin/env bash
cedar-14
()
{
echo
"Running tests in docker (cedar-14)..."
docker run
-v
$(
pwd
)
:/buildpack:ro
--rm
-it
heroku/cedar:14 bash
-c
'cp -r /buildpack /buildpack_test; cd /buildpack_test/; test/run;'
echo
""
}
cedar
()
{
echo
"Running tests in docker (cedar)..."
docker run
-v
$(
pwd
)
:/buildpack:ro
--rm
-it
fabiokung/cedar bash
-c
'cp -r /buildpack /buildpack_test; cd /buildpack_test/; test/run;'
}
if
[
"
$1
"
==
"cedar-14"
]
;
then
cedar-14
elif
[
"
$1
"
==
"cedar"
]
;
then
cedar
else
cedar-14
cedar
fi
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