Sfoglia il codice sorgente

Add install task to tasks, for good measure

Getty Ritter 4 anni fa
parent
commit
8d81b43996
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      tasks.py

+ 4 - 0
tasks.py

@@ -10,3 +10,7 @@ def run(c, port=8080, host='127.0.0.1'):
         f'poetry run python -m flask run -p {port} -h {host}',
         env={'FLASK_APP': 'lc/main.py'},
     )
+
+@task
+def install(c):
+    c.run('poetry install')