From b4eeed35d78f82ea988d70de177d522ca20257ea Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 14 Jun 2019 21:42:18 +0200 Subject: bom-to-csv: Starting on a generic tool to generate CSV files from BOMs. --- src/ee/tools/templates/build.ninja.j2 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/ee/tools/templates/build.ninja.j2') diff --git a/src/ee/tools/templates/build.ninja.j2 b/src/ee/tools/templates/build.ninja.j2 index 1ab6102..016c7da 100644 --- a/src/ee/tools/templates/build.ninja.j2 +++ b/src/ee/tools/templates/build.ninja.j2 @@ -12,12 +12,15 @@ pcb = {{ pcb | ninja_path }} {%- endif %} {%- set log=log if log is defined else "--log=warn" %} -rule kicad-gerber - command = $ee kicad-gerber --pcb $in --output-dir $dir --index $out - rule mkzip command = $ee mkzip --include $in --zip $out +rule bom-to-csv + command = $ee bom-to-csv {{ log }} --bom $in --out $out $part_dbs $args + +rule kicad-gerber + command = $ee kicad-gerber --pcb $in --output-dir $dir --index $out + rule kicad-make-bom command = $ee kicad-make-bom {{ log }} --sch $sch --out $out --uuid $uuid -- cgit v1.2.3