meson format meson.build
in subdir should follow meson.format
in toplevel directory.
#14167
Labels
meson format meson.build
in subdir should follow meson.format
in toplevel directory.
#14167
Describe the bug
meson format meson.build
in subdir doesn't followmeson.format
in toplevel directory.To Reproduce
meson format
insrc
wouldn't followmeson.format
if we runmeson format
insrc
.Expected behavior
meson format meson.build
in subdir should followmeson.format
in toplevel directory.Maybe we can detect "meson.format" in following manner:
meson.format
in the directory of the file needing to be formatted and in every parent directory, until we meet a rootmeson.build
(For example, ameson.build
containsproject(xxx)
). So that the formatting behavior is unrelated to the working directory ofmeson format
.meson.format
one by one.system parameters
Is this a cross build or just a plain native build (for the same computer)?
No.
what operating system (e.g. MacOS Catalina, Windows 10, CentOS 8.0, Ubuntu 18.04, etc.)
NixOS 25.05
what Python version are you using e.g. 3.8.0
3.12
what
meson --version
1.6.0
what
ninja --version
if it's a Ninja buildIt doesn't matter.
The text was updated successfully, but these errors were encountered: