Mercurial > code > home > repos > streamed-graph
view tasks.py @ 60:0d0638bd98be
use pnpm
author | drewp@bigasterisk.com |
---|---|
date | Wed, 15 Jan 2020 10:46:59 -0800 |
parents | 1264ba9ffb10 |
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)