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
5814c2bd
Commit
5814c2bd
authored
Apr 22, 2015
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put tests into makefile
parent
b53cd7b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
21 deletions
+10
-21
makefile
makefile
+10
-0
docker
test/docker
+0
-21
No files found.
makefile
0 → 100644
View file @
5814c2bd
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 @
b53cd7b5
#!/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