Commit 710f9321 authored by Kenneth Reitz's avatar Kenneth Reitz

test

parent 02e410fd
...@@ -29,6 +29,8 @@ function virtualenv (){ ...@@ -29,6 +29,8 @@ function virtualenv (){
cd $BUILD_DIR cd $BUILD_DIR
ls
# Reject a non-packaged Django app. # Reject a non-packaged Django app.
if [ "$NAME" = "Python" ]; then if [ "$NAME" = "Python" ]; then
[ -f manage.py ] && [ -f settings.py ] && { echo " ! Django app must be in a package subdirectory"; exit 1; } [ -f manage.py ] && [ -f settings.py ] && { echo " ! Django app must be in a package subdirectory"; exit 1; }
...@@ -51,6 +53,7 @@ for dir in $VIRTUALENV_DIRS; do ...@@ -51,6 +53,7 @@ for dir in $VIRTUALENV_DIRS; do
cp -R $CACHE_DIR/$dir . &> /dev/null || true cp -R $CACHE_DIR/$dir . &> /dev/null || true
done done
ls
# Create virtualenv. Rebuild if corrupt. # Create virtualenv. Rebuild if corrupt.
set +e set +e
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment