mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
moved django into plugins, moved djtest into its own file
This commit is contained in:
parent
db0eda65bc
commit
089034b6c6
@ -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
|
0
plugins/django/django.load
Normal file
0
plugins/django/django.load
Normal file
13
plugins/django/djtest.fish
Normal file
13
plugins/django/djtest.fish
Normal 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
|
Loading…
Reference in New Issue
Block a user