resume / tasks /runs.py
Médéric Hurier (Fmind)
refactoring
13a7d69
raw
history blame
314 Bytes
"""Run tasks for the project."""
# %% IMPORTS
from invoke import task
from invoke.context import Context
# %% TASKS
@task
def app(ctx: Context) -> None:
"""Run the main application."""
ctx.run("gradio app.py")
@task(pre=[app], default=True)
def all(_: Context) -> None:
"""Run all run tasks."""