Skip to content
Snippets Groups Projects
Commit d33fd7a2 authored by Jeremy Epstein's avatar Jeremy Epstein
Browse files

update tasks.py to work with Click

parent 3d8f8c3c
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ def clean():
def _run_manage_command(command):
run('python {0} {1}'.format(os.path.join(COOKIE, 'manage.py'), command), echo=True)
run('FLASK_APP="{0}.autoapp" flask {1}'.format(COOKIECUTTER_SETTINGS['app_name'], command), echo=True)
@task(pre=[clean, build])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment