From 412e9853b9efcac095215fff6d6e2e28ffd4d3b7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Oct 2024 13:21:36 -0400 Subject: Add lint option and fix warning_level abuse --- meson.build | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 29c8467..9154289 100644 --- a/meson.build +++ b/meson.build @@ -328,13 +328,14 @@ if qt6_dep.found() ) endif -######### -# Tests # -######### +######## +# Lint # +######## + +if get_option('lint') -if get_option('warning_level') == 'everything' - # Check release metadata if not meson.is_subproject() + # Check release metadata autoship = find_program('autoship', required: false) if autoship.found() test('autoship', autoship, args: ['test', suil_src_root], suite: 'data') -- cgit v1.2.1