view tasks.py @ 67:163b4339804d

try addressing decreasing performance by rebuilding the graph occasionally
author drewp@bigasterisk.com
date Sun, 26 Jan 2020 22:07:19 -0800
parents 0d0638bd98be
children f357cd36c26e
line wrap: on
line source

from invoke import task  # pytype: disable=import-error


@task
def setup_js(ctx):
    ctx.run('pnpm install')

@task
def serve_demo(ctx):
    ctx.run('webfsd -Fp 8021')

@task
def build(ctx):
    ctx.run(f'pnpm run build', pty=True)

@task
def build_forever(ctx):
    ctx.run(f'pnpm run build_forever', pty=True)

@task
def test(ctx):
    ctx.run(f'pnpm run test', pty=True)

@task
def test_forever(ctx):
    ctx.run(f'pnpm run test_forever', pty=True)