diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-06-14 21:42:18 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-06-14 21:42:18 +0200 |
commit | b4eeed35d78f82ea988d70de177d522ca20257ea (patch) | |
tree | f5db959036edee3c292e906d1ac40a66bd8c2e2b /src/ee/tools/templates | |
parent | 89197dad4f5f427faa7fba12971b20037ad5ba71 (diff) | |
download | ee-python-b4eeed35d78f82ea988d70de177d522ca20257ea.tar.gz ee-python-b4eeed35d78f82ea988d70de177d522ca20257ea.tar.bz2 ee-python-b4eeed35d78f82ea988d70de177d522ca20257ea.tar.xz ee-python-b4eeed35d78f82ea988d70de177d522ca20257ea.zip |
bom-to-csv: Starting on a generic tool to generate CSV files from BOMs.
Diffstat (limited to 'src/ee/tools/templates')
-rw-r--r-- | src/ee/tools/templates/build.ninja.j2 | 9 |
1 files changed, 6 insertions, 3 deletions
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 |