Mercurial > code > home > repos > streamed-graph
comparison tasks.py @ 42:895ae7c5b0f4
don't pile all the deps in our sharable library. other fixes to make it work as a dep.
author | drewp@bigasterisk.com |
---|---|
date | Wed, 01 Jan 2020 19:39:57 -0800 |
parents | 29d8ed02a275 |
children | 1264ba9ffb10 |
comparison
equal
deleted
inserted
replaced
41:5eb29ce7a354 | 42:895ae7c5b0f4 |
---|---|
1 from invoke import task # pytype: disable=import-error | 1 from invoke import task # pytype: disable=import-error |
2 | 2 |
3 | 3 |
4 @task | 4 @task |
5 def setup_npm(ctx): | 5 def setup_npm(ctx): |
6 ctx.run('npm run install') | 6 ctx.run('npm install') |
7 | 7 |
8 @task | 8 @task |
9 def serve_demo(ctx): | 9 def serve_demo(ctx): |
10 ctx.run('webfsd -Fp 8021') | 10 ctx.run('webfsd -Fp 8021') |
11 | 11 |