From fa6949a45c43c08c857369389e57015b5782d604 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 21 May 2019 09:55:08 +0200 Subject: ninja: Making a phony goal 'ee-reports' that depends on all reports. Making the generated build.ninja mark 'ee-reports' as a default goal. --- src/ee/tools/ninja.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ee/tools/ninja.py') diff --git a/src/ee/tools/ninja.py b/src/ee/tools/ninja.py index ffc80c9..9e919fb 100644 --- a/src/ee/tools/ninja.py +++ b/src/ee/tools/ninja.py @@ -101,7 +101,11 @@ def generate(project: Project): "# here, but keep the include line as we'll update ee.ninja for you when your\n", "# configuration changes\n", "\n", - "include ee.ninja\n"]) + "include ee.ninja\n", + "\n", + "# This will build all reports by default\n", + "default ee-reports\n", + ]) with ee_ninja.open("w") as f: env = _create_env() -- cgit v1.2.3