From daff1edb1f51be305a2019c05a8b8c39500f8be7 Mon Sep 17 00:00:00 2001 From: Isaiah Inuwa Date: Mon, 1 Jun 2026 07:21:18 -0500 Subject: [PATCH] ui: Consistently build Blueprint file Using batch-compile with the `.` arg as the output means that Meson cannot tell what files are generated by the command, causing you to have to run the build multiple times to get updates. Switching to explicitly declaring the output should fix this issue. --- credentialsd-ui/data/resources/ui/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/credentialsd-ui/data/resources/ui/meson.build b/credentialsd-ui/data/resources/ui/meson.build index 6232435..53f9eb8 100644 --- a/credentialsd-ui/data/resources/ui/meson.build +++ b/credentialsd-ui/data/resources/ui/meson.build @@ -3,12 +3,12 @@ blueprint_compiler = find_program('blueprint-compiler', version: '>= 0.20.4') blueprint_templates = custom_target( 'blueprints', input: files('window.blp'), - output: '.', + output: 'window.ui', command: [ blueprint_compiler, - 'batch-compile', - '@OUTPUT@', - '@CURRENT_SOURCE_DIR@', + 'compile', + '--minify', + '--output', '@OUTPUT@', '@INPUT@', ], ) \ No newline at end of file