[libgit2-glib] meson: Add trailing commas



commit 66cca3976e3f59305071a6fd51ae652649d4f119
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Mon Nov 12 12:05:24 2018 +0100

    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

 examples/meson.build     | 2 +-
 libgit2-glib/meson.build | 6 +++---
 meson.build              | 4 ++--
 tests/meson.build        | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/examples/meson.build b/examples/meson.build
index dfe8ada..3987ae0 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -1,6 +1,6 @@
 examples = [
   'general',
-  'walk'
+  'walk',
 ]
 
 if have_termios
diff --git a/libgit2-glib/meson.build b/libgit2-glib/meson.build
index 62a7eba..b71e527 100644
--- a/libgit2-glib/meson.build
+++ b/libgit2-glib/meson.build
@@ -66,7 +66,7 @@ headers = [
   'ggit-tree.h',
   'ggit-tree-builder.h',
   'ggit-tree-entry.h',
-  'ggit-types.h'
+  'ggit-types.h',
 ]
 
 private_headers = [
@@ -194,7 +194,7 @@ platform_deps = [
   gio_dep,
   glib_dep,
   gobject_dep,
-  libgit2_dep
+  libgit2_dep,
 ]
 
 if cc.get_id() == 'msvc'
@@ -222,7 +222,7 @@ pkg.generate(
   subdirs: libgit2_glib_api_name,
   requires: ['libgit2 >= ' + git2_req, 'glib-2.0 >= ' + glib_req, 'gobject-2.0 >= ' + glib_req, 'gio-2.0 >= 
' + glib_req],
   variables: 'exec_prefix=${prefix}',
-  extra_cflags: extra_args
+  extra_cflags: extra_args,
 )
 
 # Internal dependency, for tests and benchmarks
diff --git a/meson.build b/meson.build
index 1a069b2..bc50b2b 100644
--- a/meson.build
+++ b/meson.build
@@ -75,7 +75,7 @@ else
     '-Werror=missing-braces',
     '-Werror=return-type',
     '-Werror=array-bounds',
-    '-Werror=write-strings'
+    '-Werror=write-strings',
   ])
 endif
 
@@ -88,7 +88,7 @@ if libgit2_glib_buildtype.contains('debug')
 else
   common_flags += [
     '-DG_DISABLE_CAST_CHECKS',
-    '-DG_DISABLE_CHECKS'
+    '-DG_DISABLE_CHECKS',
   ]
 endif
 
diff --git a/tests/meson.build b/tests/meson.build
index 5c0f22a..175c7a2 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,5 +1,5 @@
 unit_tests = [
-  'repository'
+  'repository',
 ]
 
 foreach unit: unit_tests


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]