Files
yaric359/dodo.py
2019-01-08 16:09:15 +05:00

27 lines
403 B
Python
Executable File

#! /usr/bin/env python3
import sys
def task_test():
return {
'actions': ['pytest'],
'verbosity': 2,
}
def task_migrate():
return {
'actions': [f'{sys.executable} -m data.migrate']
}
def task_force_migrate():
return {
'actions': [f'{sys.executable} -m data.migrate --f']
}
if __name__ == '__main__':
import doit
doit.run(globals())