Add fabfile.py with autotest task
This commit is contained in:
parent
0c6de005a0
commit
eb717693f9
14
fabfile.py
vendored
Normal file
14
fabfile.py
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
from fabric.api import local
|
||||
|
||||
|
||||
def test():
|
||||
local('nosetests tests/')
|
||||
|
||||
|
||||
def autotest():
|
||||
while True:
|
||||
local('clear')
|
||||
test()
|
||||
local(
|
||||
'inotifywait -q -e create -e modify -e delete '
|
||||
'--exclude ".*\.(pyc|sw.)" -r mopidy/ tests/')
|
||||
Loading…
Reference in New Issue
Block a user