comparison service/mqtt_to_rdf/tasks.py @ 733:9ca69f2be87b

more mqtt_to_rdf renames. bring in basic LitElement setup for the debug page Ignore-this: 85e2ab49915e44b08219e537fab21870
author drewp@bigasterisk.com
date Sat, 08 Feb 2020 04:02:22 -0800
parents fdddbdaf07b5
children
comparison
equal deleted inserted replaced
732:fdddbdaf07b5 733:9ca69f2be87b
10 @ns.add_task 10 @ns.add_task
11 @task 11 @task
12 def tail_mqtt(ctx): 12 def tail_mqtt(ctx):
13 internal_mqtt_port = 10010 13 internal_mqtt_port = 10010
14 ctx.run(f'mosquitto_sub -h bang -p 1883 -d -v -t \#') 14 ctx.run(f'mosquitto_sub -h bang -p 1883 -d -v -t \#')
15
16 @ns.add_task
17 @task
18 def setup_js(ctx):
19 ctx.run('pnpm install')
20
21 @ns.add_task
22 @task
23 def build(ctx):
24 ctx.run(f'pnpm run build', pty=True)
25
26 @ns.add_task
27 @task
28 def build_forever(ctx):
29 ctx.run(f'pnpm run build_forever', pty=True)
30
31 @ns.add_task
32 @task
33 def test(ctx):
34 ctx.run(f'pnpm run test', pty=True)
35
36 @ns.add_task
37 @task
38 def test_forever(ctx):
39 ctx.run(f'pnpm run test_forever', pty=True)
40