comparison tasks.py @ 9:26d3e4860adc

working on porting graph_view to n3.js. also working on making tests run
author drewp@bigasterisk.com
date Fri, 06 Dec 2019 09:19:43 -0800
parents a9bc14e22e36
children 7ca4ff2088c3 94629c39681c
comparison
equal deleted inserted replaced
8:6fefd287aff9 9:26d3e4860adc
12 @task 12 @task
13 def build(ctx): 13 def build(ctx):
14 ctx.run(f'npm run build') 14 ctx.run(f'npm run build')
15 ctx.run(f'cp build/streamed-graph.bundle.js /my/site/homepage/www/rdf/streamed-graph.bundle.js') 15 ctx.run(f'cp build/streamed-graph.bundle.js /my/site/homepage/www/rdf/streamed-graph.bundle.js')
16 ctx.run(f'cp streamed-graph.css /my/site/homepage/www/rdf/streamed-graph.css') 16 ctx.run(f'cp streamed-graph.css /my/site/homepage/www/rdf/streamed-graph.css')
17
18 @task
19 def test(ctx):
20 ctx.run(f'node_modules/ts-node/dist/bin.js node_modules/jasmine/bin/jasmine --config=jasmine.json')