From cd3d2110d9b34bdd28d1a33c748983a67e610f8d Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Thu, 8 Dec 2022 13:03:33 +0100 Subject: [PATCH] Error if run_command() fails, remove meson warning --- static/meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/meson.build b/static/meson.build index 1bed7ebe1..123146cac 100644 --- a/static/meson.build +++ b/static/meson.build @@ -1,6 +1,7 @@ resource_files = run_command(res_manager, '--list-all', - files('resources_list.txt') + files('resources_list.txt'), + check: true ).stdout().strip().split('\n') preprocessed_resources = custom_target('preprocessed_resource_files', @@ -33,7 +34,8 @@ lib_resources = custom_target('resources', i18n_resource_files = run_command(find_program('python3'), '-c', 'import sys; f=open(sys.argv[1]); print(f.read())', - files('i18n_resources_list.txt') + files('i18n_resources_list.txt'), + check: true ).stdout().strip().split('\n') i18n_resources = custom_target('i18n_resources',