From 4f070bf3abbbb500c19c4397571d5049b8e008e6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Sep 2023 17:05:47 -0400 Subject: Format meson.build files with muon The less time wasted with manual code formatting, the better. --- meson.build | 21 ++++++++++++--------- test/meson.build | 6 ++++-- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/meson.build b/meson.build index 1529390..48ac3dc 100644 --- a/meson.build +++ b/meson.build @@ -1,15 +1,18 @@ # Copyright 2019-2023 David Robillard # SPDX-License-Identifier: 0BSD OR GPL-3.0-or-later -project('raul', ['cpp'], - version: '2.0.1', - license: 'GPLv3+', - meson_version : '>= 0.49.2', - default_options: [ - 'b_ndebug=if-release', - 'buildtype=release', - 'cpp_std=c++17', - ]) +project( + 'raul', + ['cpp'], + default_options: [ + 'b_ndebug=if-release', + 'buildtype=release', + 'cpp_std=c++17', + ], + license: 'GPLv3+', + meson_version: '>= 0.49.2', + version: '2.0.1', +) raul_src_root = meson.current_source_dir() raul_build_root = meson.current_build_dir() diff --git a/test/meson.build b/test/meson.build index 0b84e09..2b30cd0 100644 --- a/test/meson.build +++ b/test/meson.build @@ -7,7 +7,8 @@ if get_option('lint') autoship = find_program('autoship', required: get_option('tests')) if autoship.found() test( - 'autoship', autoship, + 'autoship', + autoship, args: ['test', raul_src_root], suite: 'data', ) @@ -18,7 +19,8 @@ if get_option('lint') reuse = find_program('reuse', required: false) if reuse.found() test( - 'REUSE', reuse, + 'REUSE', + reuse, args: ['--root', raul_src_root, 'lint'], suite: 'data', ) -- cgit v1.2.1