moved django into plugins, moved djtest into its own file

This commit is contained in:
Francis Lavoie 2013-05-21 18:18:05 -04:00
parent db0eda65bc
commit 089034b6c6
3 changed files with 13 additions and 13 deletions

View File

@ -1,13 +0,0 @@
# time, cleanup pyc and running test, settings as first argument
# e.g. djtest settings_dev
function djtest
if test -n $argv
set SETTINGS = $argv[0]
else
set SETTINGS = false
end
set VERBOSE --verbosity=1
find . -name "*.pyc" -delete
time python manage.py test $VERBOSE --settings=$SETTINGS
end

View File

View File

@ -0,0 +1,13 @@
# time, cleanup pyc and running test, settings as first argument
# e.g. djtest settings_dev
function djtest
set VERBOSE --verbosity=1
find . -name "*.pyc" -delete
if set -q argv
time python manage.py test $VERBOSE --settings=$argv
else
time python manage.py test $VERBOSE
end
end