Mercurial > code > home > repos > homeauto
view lib/patchablegraph/tasks.py @ 1529:0e0713fd23e7
build: place generated nim in its own dir
Ignore-this: 89c9a75595f0465d4efc44ef1b96abd7
darcs-hash:6a695011fe841ce7d6c020ebc33b6099ff26d964
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 23 Jan 2020 23:59:41 -0800 |
parents | c829df2b0dd5 |
children |
line wrap: on
line source
from invoke import task import sys sys.path.append('/my/proj/release') from release import local_release @task def release(ctx): local_release(ctx) @task def browser_test_build(ctx): ctx.run(f'docker build --network=host -t bang:5000/patchable_graph_browser_test .') @task(pre=[browser_test_build]) def browser_test(ctx): ctx.run(f'docker run ' f'--name patchable_graph_browser_test ' f'--rm -it ' f'--net=host ' f'-v `pwd`:/opt ' f'bang:5000/patchable_graph_browser_test ' f'/bin/bash', #f'python3 browser_test.py', pty=True)