mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
17 lines
318 B
Python
17 lines
318 B
Python
from invoke import run, task
|
|
|
|
|
|
@task
|
|
def test(label='tests'):
|
|
run('flake8 configurations --ignore=E501,E127,E128,E124')
|
|
run('./manage.py test {0} -v2'.format(label))
|
|
|
|
|
|
@task
|
|
def release():
|
|
run('python setup.py sdist bdist_wheel register upload -s')
|
|
|
|
|
|
@task
|
|
def docs():
|
|
run('cd docs; make html; cd ..')
|