mopidy/fabfile.py
2012-12-13 02:21:21 +01:00

21 lines
471 B
Python

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/')
def update_authors():
# Keep authors in the order of appearance and use awk to filter out dupes
local(
"git log --format='- %aN <%aE>' --reverse | awk '!x[$0]++' > AUTHORS")