From eb717693f921305038703a0785de0ae0b112fb6c Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Thu, 13 Dec 2012 02:17:29 +0100 Subject: [PATCH] Add fabfile.py with autotest task --- fabfile.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 fabfile.py diff --git a/fabfile.py b/fabfile.py new file mode 100644 index 00000000..e2d77a06 --- /dev/null +++ b/fabfile.py @@ -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/')