[gedit-plugins] build: summary message: have same format as in gedit
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] build: summary message: have same format as in gedit
- Date: Fri, 6 Dec 2019 08:40:22 +0000 (UTC)
commit ad2ebab5235199257d748e79ba66c211982dd805
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Dec 6 09:36:52 2019 +0100
build: summary message: have same format as in gedit
And same format as in devhelp.
With the indentation it makes the message more visible.
meson.build | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/meson.build b/meson.build
index b0e7ae8..1984b87 100644
--- a/meson.build
+++ b/meson.build
@@ -99,30 +99,28 @@ meson.add_install_script(
# Summary message
summary = [
- '',
'Configuration:',
'',
- 'gedit-plugins version @0@'.format(meson.project_version()),
+ ' gedit-plugins version @0@'.format(meson.project_version()),
+ '',
+ ' Prefix: @0@'.format(get_option('prefix')),
'',
- 'Enabled plugins:'
+ ' Enabled plugins:'
]
foreach plugin_name : enabled_plugins
- summary += ' ' + plugin_name
+ summary += ' ' + plugin_name
endforeach
summary += [
'',
- 'Disabled plugins:'
+ ' Disabled plugins:'
]
foreach plugin_name : disabled_plugins
- summary += ' ' + plugin_name
+ summary += ' ' + plugin_name
endforeach
-summary += [
- '',
- 'Prefix: @0@'.format(get_option('prefix'))
-]
+summary += ''
message('\n'.join(summary))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]