aboutsummaryrefslogtreecommitdiff
path: root/src/ee/tools/templates/build.ninja.j2
diff options
context:
space:
mode:
Diffstat (limited to 'src/ee/tools/templates/build.ninja.j2')
-rw-r--r--src/ee/tools/templates/build.ninja.j29
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