diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-08-02 15:09:07 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-08-02 15:09:07 +0200 |
commit | 34e79ef18fc6260a4f255e6087b011d8ff741a43 (patch) | |
tree | 43e99aeddd9843fbeedf6dc1b0e5967d469bbb90 /src/ee/tools/templates | |
parent | c8250596fc6b50f2c92fb3952491ddfcbf0f9781 (diff) | |
download | ee-python-34e79ef18fc6260a4f255e6087b011d8ff741a43.tar.gz ee-python-34e79ef18fc6260a4f255e6087b011d8ff741a43.tar.bz2 ee-python-34e79ef18fc6260a4f255e6087b011d8ff741a43.tar.xz ee-python-34e79ef18fc6260a4f255e6087b011d8ff741a43.zip |
odoo: wip
Diffstat (limited to 'src/ee/tools/templates')
-rw-r--r-- | src/ee/tools/templates/build.ninja.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ee/tools/templates/build.ninja.j2 b/src/ee/tools/templates/build.ninja.j2 index 016c7da..4817b7b 100644 --- a/src/ee/tools/templates/build.ninja.j2 +++ b/src/ee/tools/templates/build.ninja.j2 @@ -3,6 +3,7 @@ ee = {{ ee }} uuid = {{ project.uuid }} public_dir = {{ project.public_dir }} report_dir = {{ project.report_dir }} +orders_dir = {{ project.orders_dir }} {%- if sch is defined %} sch = {{ sch | ninja_path }} sch_files = {{ sch_files | ninja_path }} @@ -196,6 +197,14 @@ build $public_dir/seeed/opl/{{ opl }}.xml: seeed-download-opl {%- endfor %} {%- endif %} +rule ee-ninja + command = ee ninja && touch $out + +build build.ninja ee.ninja: ee-ninja eeconfig $orders_dir + generator = yes + +default ee.ninja + # Reports build ee-reports: phony {{ " ".join(reports) }} build ee-part-dbs: phony {%- for s in suppliers %} {{ s.part_db }}{% endfor %} |