update tasks.py to work with Click

master
Jeremy Epstein 8 years ago
parent 3d8f8c3c9e
commit d33fd7a2cf
  1. 2
      tasks.py

@ -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])

Loading…
Cancel
Save