From 0fbab42f8cf9d392b769605226588fc21c6f2a09 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Wed, 29 May 2019 08:20:05 +0200 Subject: [PATCH] Format meson.build for readability --- app/meson.build | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/app/meson.build b/app/meson.build index 5942fd08..d22cb63f 100644 --- a/app/meson.build +++ b/app/meson.build @@ -143,18 +143,34 @@ else link_args = [] endif -executable('scrcpy', src, dependencies: dependencies, include_directories: src_dir, install: true, c_args: c_args, link_args: link_args) +executable('scrcpy', src, + dependencies: dependencies, + include_directories: src_dir, + install: true, + c_args: c_args, + link_args: link_args) ### TESTS tests = [ - ['test_control_event_queue', ['tests/test_control_event_queue.c', 'src/control_event.c']], - ['test_control_event_serialize', ['tests/test_control_event_serialize.c', 'src/control_event.c']], - ['test_strutil', ['tests/test_strutil.c', 'src/str_util.c']], + ['test_control_event_queue', [ + 'tests/test_control_event_queue.c', + 'src/control_event.c' + ]], + ['test_control_event_serialize', [ + 'tests/test_control_event_serialize.c', + 'src/control_event.c' + ]], + ['test_strutil', [ + 'tests/test_strutil.c', + 'src/str_util.c' + ]], ] foreach t : tests - exe = executable(t[0], t[1], include_directories: src_dir, dependencies: dependencies) + exe = executable(t[0], t[1], + include_directories: src_dir, + dependencies: dependencies) test(t[0], exe) endforeach