From 53f243e4555779d95b13101eaf6596be392421a0 Mon Sep 17 00:00:00 2001 From: David Perl Date: Wed, 7 May 2025 13:42:38 +0200 Subject: [PATCH] fix: run compiler if there are ui files --- copier.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/copier.yml b/copier.yml index 88c4cf8..07f5f6a 100644 --- a/copier.yml +++ b/copier.yml @@ -75,7 +75,8 @@ ui_fileinfo: # would like to save this programatically when generated but don't _tasks: - "git init --initial-branch=main" - > - {% if not ui_fileinfo %} + {% if not ui_fileinfo %} echo "No .ui files to process" + {% else %} {% for info in ui_fileinfo %}pyside6-uic {{ info.ui_file }} -o {{ info.out_file }}; {% endfor %} {% endif %} -- 2.49.0