diff 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
line wrap: on
line diff
--- a/tasks.py	Thu Dec 05 01:32:13 2019 -0800
+++ b/tasks.py	Fri Dec 06 09:19:43 2019 -0800
@@ -14,3 +14,7 @@
     ctx.run(f'npm run build')
     ctx.run(f'cp build/streamed-graph.bundle.js /my/site/homepage/www/rdf/streamed-graph.bundle.js')
     ctx.run(f'cp streamed-graph.css /my/site/homepage/www/rdf/streamed-graph.css')
+
+@task
+def test(ctx):
+    ctx.run(f'node_modules/ts-node/dist/bin.js node_modules/jasmine/bin/jasmine --config=jasmine.json')
\ No newline at end of file