Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a script to run mezzanine tests.
- Loading branch information
1 parent
e4db44f
commit 089afe8
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
*.pyc | ||
.svn | ||
mezzanine-git/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ syntax: glob | |
build/* | ||
dist/* | ||
filebrowser_safe.egg-info/* | ||
mezzanine-git/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
# Install latest mezzanine master branch. | ||
mezzanine="./mezzanine-git" | ||
if [ -d $mezzanine ]; then | ||
git -C $mezzanine pull | ||
else | ||
git clone --branch master --depth 1 https://github.com/stephenmcd/mezzanine.git $mezzanine | ||
fi | ||
pip install -U $mezzanine | ||
|
||
# Install filebrowser-safe. | ||
pip install -U -e . | ||
|
||
# Run mezzanine tests. | ||
(cd $mezzanine && python setup.py test) |