Mercurial > code > home > repos > streamed-graph
comparison tasks.py @ 92:8db5ba7e12b9
pnpm install is slow & broken over nfs with a mismatching abspath
author | drewp@bigasterisk.com |
---|---|
date | Wed, 12 Jan 2022 16:53:44 -0800 |
parents | 6077fdc9ed44 |
children | 5e6840229a05 |
comparison
equal
deleted
inserted
replaced
91:96084d9ccb26 | 92:8db5ba7e12b9 |
---|---|
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_js(ctx): | 5 def setup_js(ctx): |
6 ctx.run('pnpm install') | 6 if 0: # only reasonable on bang,but dash tries to rebuild it |
7 ctx.run('pnpm install --dir=$PWD') | |
7 | 8 |
8 @task(pre=[setup_js]) | 9 @task(pre=[setup_js]) |
9 def serve_demo(ctx): | 10 def serve_demo(ctx): |
10 ctx.run('webfsd -Fp 8021') | 11 ctx.run('webfsd -Fp 8021') |
11 | 12 |