meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I1d83c80cac8bec7cae73afc40b77f629351f404c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 393f3b6..b75d9f9 100644
--- a/meson.build
+++ b/meson.build
@@ -2,9 +2,7 @@
'phosphor-health-monitor',
'cpp',
version: '1.0',
- default_options: [
- 'cpp_std=c++23',
- ],
+ default_options: ['cpp_std=c++23'],
meson_version: '>=1.1.1',
)
@@ -18,7 +16,7 @@
phosphor_dbus_interfaces_dep,
sdbusplus_dep,
sdeventplus_dep,
- nlohmann_json_dep
+ nlohmann_json_dep,
]
executable(
@@ -30,30 +28,31 @@
'health_metric_collection.cpp',
'health_monitor.cpp',
],
- dependencies: [
- base_deps
- ],
+ dependencies: [base_deps],
install: true,
- install_dir: get_option('bindir')
+ install_dir: get_option('bindir'),
)
conf_data = configuration_data()
conf_data.set('HEALTH_CONFIG_FILE', '"/etc/healthMon/bmc_health_config.json"')
-conf_data.set('MONITOR_COLLECTION_INTERVAL', get_option('monitor-collection-interval'))
+conf_data.set(
+ 'MONITOR_COLLECTION_INTERVAL',
+ get_option('monitor-collection-interval'),
+)
-configure_file(output : 'config.h',
- configuration : conf_data)
+configure_file(output: 'config.h', configuration: conf_data)
systemd = dependency('systemd')
conf_data = configuration_data()
conf_data.set('bindir', get_option('prefix') / get_option('bindir'))
configure_file(
- input: 'phosphor-health-monitor.service.in',
- output: 'phosphor-health-monitor.service',
- configuration: conf_data,
- install: true,
- install_dir: systemd.get_variable('systemdsystemunitdir'))
+ input: 'phosphor-health-monitor.service.in',
+ output: 'phosphor-health-monitor.service',
+ configuration: conf_data,
+ install: true,
+ install_dir: systemd.get_variable('systemdsystemunitdir'),
+)
if get_option('tests').allowed()
- subdir('test')
+ subdir('test')
endif