From 73fe63ceb6d10e5bed0664100de8709843661d8d Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 22 Jul 2018 19:09:22 +0200 Subject: wip. o Moving to more standard doit task_xxx methods. --- demo/doit/dodo.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'demo') 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 * -- cgit v1.2.3