1
0
Fork 0
mirror of synced 2024-06-28 19:21:05 +12:00
Rare/ui2py.sh
Stelios Tsampas 45dc4b8e7c Adjust for one-line PathEdit
Make Console font monospaced.
Revert changes in Rare settings because they weren't working.
Replace a few GridLayouts with FormLayouts
2021-09-11 00:57:43 +03:00

13 lines
230 B
Bash
Executable file

#!/usr/bin/bash
pushd "$(dirname "$0")" || exit
changed="$(git diff --name-only HEAD | grep '\.ui')"
for ui in $changed; do
echo "Generating python file for ${ui}"
pyuic5 "${ui}" -x -o "${ui%.ui}.py"
done
popd || exit