diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-05-15 22:08:37 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-05-24 07:57:00 +0200 |
commit | 4afac7dc4c743284e5243428f00928aa7eaacfdc (patch) | |
tree | d2e65dbced03e310e15509a239eb096f41d047f4 /src/ee/tools/templates | |
parent | d8b6719c628c7dfb4537ad2303c016884e9312f3 (diff) | |
download | ee-python-4afac7dc4c743284e5243428f00928aa7eaacfdc.tar.gz ee-python-4afac7dc4c743284e5243428f00928aa7eaacfdc.tar.bz2 ee-python-4afac7dc4c743284e5243428f00928aa7eaacfdc.tar.xz ee-python-4afac7dc4c743284e5243428f00928aa7eaacfdc.zip |
ee.project: Making sure all projects have an UUID.
kicad-make-bom: Using the project's UUID to generate an URL for all
parts.
Diffstat (limited to 'src/ee/tools/templates')
-rw-r--r-- | src/ee/tools/templates/build.ninja.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ee/tools/templates/build.ninja.j2 b/src/ee/tools/templates/build.ninja.j2 index 522b010..0706b11 100644 --- a/src/ee/tools/templates/build.ninja.j2 +++ b/src/ee/tools/templates/build.ninja.j2 @@ -1,5 +1,6 @@ {% set reports=[] -%} ee = {{ ee }} +uuid = {{ project.uuid }} report_dir = {{ project.report_dir }} {%- if sch is defined %} sch = {{ sch | ninja_path }} @@ -20,7 +21,7 @@ rule kicad-gerber rule kicad-make-bom description = kicad-make-bom $out - command = $ee kicad-make-bom --sch $sch --out $out + command = $ee kicad-make-bom --sch $sch --out $out --uuid $uuid rule pn-part-search-list description = pn-part-search-list supplier: $supplier |