From 8a983b0d301d2bcd288f669aeda7b603dc0ae386 Mon Sep 17 00:00:00 2001 From: Ruslan Shymkevych Date: Thu, 22 Feb 2024 12:06:35 +0200 Subject: [PATCH] Remove script from inputs for the `build build.ninja` There is no need to specify the `moulin` as the input for the `build build.ninja` command because we use it as external tool and prerequirement. Signed-off-by: Ruslan Shymkevych Reviewed-by: Volodymyr Babchuk --- moulin/build_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moulin/build_generator.py b/moulin/build_generator.py index fcf6737..e6dcab4 100644 --- a/moulin/build_generator.py +++ b/moulin/build_generator.py @@ -104,7 +104,7 @@ def _gen_regenerate(conf_file_name, generator: ninja_syntax.Writer): args = " ".join(sys.argv[1:]) generator.rule("regenerate", command=f"{this_script} {args}", generator=1) generator.newline() - generator.build(BUILD_FILENAME, "regenerate", [this_script, conf_file_name]) + generator.build(BUILD_FILENAME, "regenerate", conf_file_name) generator.newline()