fix: run compiler if there are ui files
All checks were successful
release / Release (push) Successful in 15s

This commit is contained in:
2025-05-07 13:42:38 +02:00
parent b2a3412139
commit 53f243e455

View File

@ -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 %}