From 089034b6c6c4aa1dead43af2c71d7611004e904d Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Tue, 21 May 2013 18:18:05 -0400 Subject: [PATCH] moved django into plugins, moved djtest into its own file --- django/django.load | 13 ------------- plugins/django/django.load | 0 plugins/django/djtest.fish | 13 +++++++++++++ 3 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 django/django.load create mode 100644 plugins/django/django.load create mode 100644 plugins/django/djtest.fish diff --git a/django/django.load b/django/django.load deleted file mode 100644 index d131954..0000000 --- a/django/django.load +++ /dev/null @@ -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 diff --git a/plugins/django/django.load b/plugins/django/django.load new file mode 100644 index 0000000..e69de29 diff --git a/plugins/django/djtest.fish b/plugins/django/djtest.fish new file mode 100644 index 0000000..9726130 --- /dev/null +++ b/plugins/django/djtest.fish @@ -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