Skip to content
Snippets Groups Projects
Commit 710f9321 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

test

parent 02e410fd
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment