diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-07-22 19:09:22 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-07-22 19:09:22 +0200 |
commit | 73fe63ceb6d10e5bed0664100de8709843661d8d (patch) | |
tree | 414f7cd31f3ca9888b366630261e33231e6cc87c /demo | |
parent | eadf780f736702d2c08825cb340a61237b4faa3f (diff) | |
download | ee-python-73fe63ceb6d10e5bed0664100de8709843661d8d.tar.gz ee-python-73fe63ceb6d10e5bed0664100de8709843661d8d.tar.bz2 ee-python-73fe63ceb6d10e5bed0664100de8709843661d8d.tar.xz ee-python-73fe63ceb6d10e5bed0664100de8709843661d8d.zip |
wip.
o Moving to more standard doit task_xxx methods.
Diffstat (limited to 'demo')
-rw-r--r-- | demo/doit/dodo.py | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/demo/doit/dodo.py b/demo/doit/dodo.py index a050596..27ceb67 100644 --- a/demo/doit/dodo.py +++ b/demo/doit/dodo.py @@ -1,4 +1,4 @@ -from ee.kicad.doit import KicadDoitTasks +import ee.kicad.doit prj = "demo" sch = "{}.sch".format(prj) @@ -6,13 +6,12 @@ kicad_pcb = "{}.kicad_pcb".format(prj) DOIT_CONFIG = {'check_file_uptodate': 'timestamp'} +ee.kicad.doit.init( + sch=sch, + kicad_pcb=kicad_pcb, + gerber_dir="gerber", + data_set_dir="ee", +) -def task_kicad(): - args = { - "sch": sch, - "kicad_pcb": kicad_pcb, - "gerber_dir": "gerber", - "data_set_dir": "ee", - } - for t in KicadDoitTasks(**args).tasks(): - yield t +# noinspection PyUnresolvedReferences +from ee.kicad.doit import * |