Skip to content

Commit

Permalink
Remove script from inputs for the build build.ninja
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Volodymyr Babchuk <[email protected]>
  • Loading branch information
rshym authored and lorc committed Feb 28, 2024
1 parent 3be3514 commit 8a983b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moulin/build_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit 8a983b0

Please sign in to comment.