summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-23 20:11:05 -0400
committerDavid Robillard <d@drobilla.net>2023-04-24 11:53:58 -0400
commit9e966d0f5a11bb43d17a56aab1ed9a43b8c2a112 (patch)
treefc53dce291cacd241c69b647e0762bd18bb8e67c /scripts
parentf6a7739f2bd5b556c40be445051c308586067231 (diff)
downloadzix-9e966d0f5a11bb43d17a56aab1ed9a43b8c2a112.tar.gz
zix-9e966d0f5a11bb43d17a56aab1ed9a43b8c2a112.tar.bz2
zix-9e966d0f5a11bb43d17a56aab1ed9a43b8c2a112.zip
Replace strict option with new meson warning level
Diffstat (limited to 'scripts')
-rw-r--r--scripts/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/meson.build b/scripts/meson.build
index 604db89..387fc1c 100644
--- a/scripts/meson.build
+++ b/scripts/meson.build
@@ -1,9 +1,10 @@
# Copyright 2020-2022 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
-if get_option('strict') and not meson.is_subproject()
+if not meson.is_subproject() and get_option('lint')
simple_scripts = files('benchmark.py')
plot_scripts = files('plot.py')
+ all_scripts = simple_scripts + plot_scripts
# Check formatting with black
black = find_program('black', required: get_option('tests'))