Skip to content

Commit

Permalink
meson.build: add "check: true" for the command that creates __init__.py
Browse files Browse the repository at this point in the history
Meson warns about this when the "check" keyword is absent,

  WARNING: You should add the boolean check kwarg to the run_command call.
           It currently defaults to false,
           but it will default to true in future releases of meson.
           See also: mesonbuild/meson#9300

and the command should indeed succeed, so we now pass "check: true" to
run_command().
  • Loading branch information
orlitzky committed Oct 14, 2024
1 parent 0b82587 commit 4933a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,6 @@ for path in file_paths:
f.write(content)
''',
]
run_command(create_files_command)
run_command(create_files_command, check: true)

subdir('src')

0 comments on commit 4933a6c

Please sign in to comment.