Add tool to generate new manuskript.pro file

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
TheJackiMonster 2023-02-19 14:06:00 +01:00
parent 9203e0cc83
commit 035b6222cf
No known key found for this signature in database
GPG Key ID: D850A5F772E880F9
1 changed files with 10 additions and 0 deletions

10
util/update_lang_meta.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
for FORM in $(find manuskript/ | grep "\.ui$"); do
echo "FORMS += ../$FORM"
done
for SOURCE in $(find manuskript/ | grep "\.py$"); do
echo "SOURCES += ../$SOURCE"
done
for TRANSLATION in $(find i18n/ | grep "\.ts$"); do
echo "TRANSLATIONS += $(basename $TRANSLATION)"
done