summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-10-18 12:50:20 +0200
committerThomas Haller <thaller@redhat.com>2018-12-20 13:50:34 +0100
commit35171b3c3f850a9136e48d12ead389ee80842268 (patch)
treeaf3aaf34027fe82e311c5f46d8fbe7c710ed3116 /examples
parentb00e004890b9c39fec4fe543bb95fdc263e774bc (diff)
downloadNetworkManager-35171b3c3f850a9136e48d12ead389ee80842268.tar.gz
build: meson: Add trailing commas
Add missing trailing commas that avoids getting noise when another file/parameter is added and eases reviewing changes[0]. [0] https://gitlab.gnome.org/GNOME/dconf/merge_requests/11#note_291585
Diffstat (limited to 'examples')
-rw-r--r--examples/C/glib/meson.build2
-rw-r--r--examples/C/qt/meson.build10
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/C/glib/meson.build b/examples/C/glib/meson.build
index edc4dbb142..1c817163b6 100644
--- a/examples/C/glib/meson.build
+++ b/examples/C/glib/meson.build
@@ -6,7 +6,7 @@ examples = [
['list-connections-gdbus', [], [], []],
['list-connections-libnm', [], [], [libnm_dep]],
['monitor-nm-running-gdbus', [], [], []],
- ['monitor-nm-state-gdbus', [], [], []]
+ ['monitor-nm-state-gdbus', [], [], []],
]
foreach example: examples
diff --git a/examples/C/qt/meson.build b/examples/C/qt/meson.build
index 5349faa7da..c3487af4a0 100644
--- a/examples/C/qt/meson.build
+++ b/examples/C/qt/meson.build
@@ -1,12 +1,12 @@
examples = [
['add-connection-wired', []],
['list-connections', []],
- ['change-ipv4-addresses', []]
+ ['change-ipv4-addresses', []],
]
incs = [
top_inc,
- libnm_core_inc
+ libnm_core_inc,
]
qt_core_dep = dependency('QtCore', version: '>= 4')
@@ -15,7 +15,7 @@ deps = [
dbus_dep,
qt_core_dep,
dependency('QtDBus'),
- dependency('QtNetwork')
+ dependency('QtNetwork'),
]
moc = find_program('moc-qt4', required: false)
@@ -30,7 +30,7 @@ example_moc = custom_target(
output,
input: example + '.cpp',
output: output,
- command: [moc, '-i', '@INPUT@', '-o', '@OUTPUT@']
+ command: [moc, '-i', '@INPUT@', '-o', '@OUTPUT@'],
)
examples += [[example, [example_moc]]]
@@ -41,6 +41,6 @@ foreach example: examples
example[0] + '.cpp',
include_directories: incs,
dependencies: deps,
- link_depends: example[1]
+ link_depends: example[1],
)
endforeach