Mercurial > code > home > repos > homeauto
annotate lib/homeauto_anynode/tasks.py @ 1745:d90cb7c06f15
try to crash if mqtt doesn't connect
author | drewp@bigasterisk.com |
---|---|
date | Thu, 09 Nov 2023 17:21:59 -0800 |
parents | bb43ad96da8c |
children |
rev | line source |
---|---|
535
bb43ad96da8c
start homeauto_anynode for files shared between arduino and pi
drewp@bigasterisk.com
parents:
diff
changeset
|
1 from invoke import task |
bb43ad96da8c
start homeauto_anynode for files shared between arduino and pi
drewp@bigasterisk.com
parents:
diff
changeset
|
2 |
bb43ad96da8c
start homeauto_anynode for files shared between arduino and pi
drewp@bigasterisk.com
parents:
diff
changeset
|
3 import sys |
bb43ad96da8c
start homeauto_anynode for files shared between arduino and pi
drewp@bigasterisk.com
parents:
diff
changeset
|
4 sys.path.append('/my/proj/release') |
bb43ad96da8c
start homeauto_anynode for files shared between arduino and pi
drewp@bigasterisk.com
parents:
diff
changeset
|
5 from release import local_release |
bb43ad96da8c
start homeauto_anynode for files shared between arduino and pi
drewp@bigasterisk.com
parents:
diff
changeset
|
6 |
bb43ad96da8c
start homeauto_anynode for files shared between arduino and pi
drewp@bigasterisk.com
parents:
diff
changeset
|
7 @task |
bb43ad96da8c
start homeauto_anynode for files shared between arduino and pi
drewp@bigasterisk.com
parents:
diff
changeset
|
8 def release(ctx): |
bb43ad96da8c
start homeauto_anynode for files shared between arduino and pi
drewp@bigasterisk.com
parents:
diff
changeset
|
9 local_release(ctx) |