aboutsummaryrefslogtreecommitdiff
path: root/src/ee/tools/templates
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-05-21 09:55:08 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-05-21 09:58:37 +0200
commitfa6949a45c43c08c857369389e57015b5782d604 (patch)
treeb62a9e43ecd4f6492f80b9932cf202c5cb2f1f2f /src/ee/tools/templates
parent458ec38bb25ca2012222297a9890d136afcb448a (diff)
downloadee-python-fa6949a45c43c08c857369389e57015b5782d604.tar.gz
ee-python-fa6949a45c43c08c857369389e57015b5782d604.tar.bz2
ee-python-fa6949a45c43c08c857369389e57015b5782d604.tar.xz
ee-python-fa6949a45c43c08c857369389e57015b5782d604.zip
ninja: Making a phony goal 'ee-reports' that depends on all reports.
Making the generated build.ninja mark 'ee-reports' as a default goal.
Diffstat (limited to 'src/ee/tools/templates')
-rw-r--r--src/ee/tools/templates/build.ninja.j24
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ee/tools/templates/build.ninja.j2 b/src/ee/tools/templates/build.ninja.j2
index 1f8bcad..4d2e22f 100644
--- a/src/ee/tools/templates/build.ninja.j2
+++ b/src/ee/tools/templates/build.ninja.j2
@@ -150,6 +150,4 @@ build ee/seeed/opl/{{ opl }}.xml: seeed-download-opl
{%- endif %}
# Reports
-{%- for r in reports %}
-default {{ r }}
-{%- endfor %}
+build ee-reports: phony {{ " ".join(reports) }}