List items in qrc in alphabetical order
This commit is contained in:
parent
459b23df2b
commit
042720d10b
|
@ -17,7 +17,7 @@ generate_qrc() {
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Find all files with the given extension in the directory and add them to the QRC file
|
# Find all files with the given extension in the directory and add them to the QRC file
|
||||||
find "$dir" -type f -name "$pattern" | while IFS= read -r file; do
|
find "$dir" -type f -name "$pattern" | sort | while IFS= read -r file; do
|
||||||
printf " <file>%s</file>\n" "$file" >>"$qrc_file"
|
printf " <file>%s</file>\n" "$file" >>"$qrc_file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE RCC>
|
<!DOCTYPE RCC>
|
||||||
<RCC version="1.0">
|
<RCC version="1.0">
|
||||||
<qresource>
|
<qresource>
|
||||||
|
<file>../img/flip_icon.svg</file>
|
||||||
<file>../img/playing_cards/backs/abstract.svg</file>
|
<file>../img/playing_cards/backs/abstract.svg</file>
|
||||||
<file>../img/playing_cards/backs/abstract_clouds.svg</file>
|
<file>../img/playing_cards/backs/abstract_clouds.svg</file>
|
||||||
<file>../img/playing_cards/backs/abstract_scene.svg</file>
|
<file>../img/playing_cards/backs/abstract_scene.svg</file>
|
||||||
|
@ -67,7 +68,6 @@
|
||||||
<file>../img/playing_cards/fronts/spades_jack.svg</file>
|
<file>../img/playing_cards/fronts/spades_jack.svg</file>
|
||||||
<file>../img/playing_cards/fronts/spades_king.svg</file>
|
<file>../img/playing_cards/fronts/spades_king.svg</file>
|
||||||
<file>../img/playing_cards/fronts/spades_queen.svg</file>
|
<file>../img/playing_cards/fronts/spades_queen.svg</file>
|
||||||
<file>../img/flip_icon.svg</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
<!-- vi: ft=xml
|
<!-- vi: ft=xml
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<!DOCTYPE RCC>
|
<!DOCTYPE RCC>
|
||||||
<RCC version="1.0">
|
<RCC version="1.0">
|
||||||
<qresource>
|
<qresource>
|
||||||
|
<file>../qml/CardModel.qml</file>
|
||||||
|
<file>../qml/DrawPile.qml</file>
|
||||||
|
<file>../qml/FoundationPiles.qml</file>
|
||||||
<file>../qml/Main.qml</file>
|
<file>../qml/Main.qml</file>
|
||||||
<file>../qml/ScoreBar.qml</file>
|
<file>../qml/ScoreBar.qml</file>
|
||||||
<file>../qml/Tableau.qml</file>
|
<file>../qml/Tableau.qml</file>
|
||||||
<file>../qml/ThrowawayPile.qml</file>
|
<file>../qml/ThrowawayPile.qml</file>
|
||||||
<file>../qml/FoundationPiles.qml</file>
|
|
||||||
<file>../qml/CardModel.qml</file>
|
|
||||||
<file>../qml/DrawPile.qml</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
<!-- vi: ft=xml
|
<!-- vi: ft=xml
|
||||||
|
|
Loading…
Reference in a new issue