Reformat meson files with meson format
Meson recently got a new format command in 1.5.0 [1]. It makes slightly
different formatting decisions compared to muon (what we used
previously) but given it's the official tool, we should switch to it.
There is one bug resolved recently that requires this format be done
using the meson from master.
Ideally this would be enforced by CI in the future, but that's WIP.
Tested: Whitespace only, code compiles.
[1] https://mesonbuild.com/Commands.html#format
[2] https://github.com/mesonbuild/meson/commit/df706807239095ddbbfd2975b3fe067ad6b5d535
Change-Id: I91506efb659c431e913c717d8a26aa349fccbd75
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/config/meson.build b/config/meson.build
index 8af7965..0f08bcf 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -47,9 +47,7 @@
'redfish-system-uri-name',
]
-int_options = [
- 'http-body-limit',
-]
+int_options = ['http-body-limit']
feature_options_string = '\n//Feature options\n'
string_options_string = '\n// String options\n'
@@ -105,9 +103,9 @@
output: 'bmcweb.socket',
install_dir: systemd_system_unit_dir,
install: true,
- configuration: configuration_data({
- 'BMCWEB_HTTPS_PORT': get_option('https_port'),
- }),
+ configuration: configuration_data(
+ {'BMCWEB_HTTPS_PORT': get_option('https_port')},
+ ),
)
configure_file(
@@ -115,14 +113,10 @@
output: 'bmcweb.service',
install_dir: systemd_system_unit_dir,
install: true,
- configuration: configuration_data({
- 'MESON_INSTALL_PREFIX': get_option('prefix'),
- }),
+ configuration: configuration_data(
+ {'MESON_INSTALL_PREFIX': get_option('prefix')},
+ ),
)
# Copy pam-webserver to etc/pam.d
-install_data(
- 'pam-webserver',
- install_dir: '/etc/pam.d/',
- rename: 'webserver',
-)
+install_data('pam-webserver', install_dir: '/etc/pam.d/', rename: 'webserver')