aboutsummaryrefslogtreecommitdiff
path: root/demo/doit
diff options
context:
space:
mode:
Diffstat (limited to 'demo/doit')
-rw-r--r--demo/doit/dodo.py19
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 *