meson: Format build files according to meson style guide
muon[1], an meson-compatible build system, provides a `fmt` subcommand
to format meson build files in accordance with the meson style guide[2].
[1]: https://muon.build/
[2]: https://mesonbuild.com/Style-guide.html
Apply `muon fmt` using the following to provide consistent formatting:
```
for f in $(git ls-files | grep meson.build)
do
muon fmt $f | sponge $f
done
```
Change-Id: I7ef7693ddf964e9540b2e3e256cdf584fb8ac9cd
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/tests/meson.build b/tests/meson.build
index 3582c07..e5ad2ea 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -8,13 +8,13 @@
dependency('threads'),
gtest_proj.dependency('gtest'),
gtest_proj.dependency('gtest_main'),
- ]
+ ],
)
gmock_dep = gtest_proj.dependency('gmock')
else
assert(
not get_option('tests').allowed(),
- 'Googletest is required if tests are enabled'
+ 'Googletest is required if tests are enabled',
)
endif
endif
@@ -34,5 +34,5 @@
dependencies: ut_deps_list,
implicit_include_directories: false,
include_directories: '../src',
- )
+ ),
)