Commit cb746f19 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(tool/update_resources): ignore `*.spec.qml` files

parent 260cebc8
<!DOCTYPE RCC><RCC version="1.0"> <!DOCTYPE RCC><RCC version="1.0">
<qresource prefix=""> <qresource prefix="/">
<file>imgs/add_field.svg</file> <file>imgs/add_field.svg</file>
<file>imgs/call.svg</file> <file>imgs/call.svg</file>
<file>imgs/cam.svg</file> <file>imgs/cam.svg</file>
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
<file>ui/modules/Common/Colors.qml</file> <file>ui/modules/Common/Colors.qml</file>
<file>ui/modules/Common/Constants.qml</file> <file>ui/modules/Common/Constants.qml</file>
<file>ui/modules/Common/Dialog/ConfirmDialog.qml</file> <file>ui/modules/Common/Dialog/ConfirmDialog.qml</file>
<file>ui/modules/Common/Dialog/ConfirmDialog.spec.qml</file>
<file>ui/modules/Common/Dialog/DialogDescription.qml</file> <file>ui/modules/Common/Dialog/DialogDescription.qml</file>
<file>ui/modules/Common/Dialog/DialogPlus.qml</file> <file>ui/modules/Common/Dialog/DialogPlus.qml</file>
<file>ui/modules/Common/DroppableTextArea.qml</file> <file>ui/modules/Common/DroppableTextArea.qml</file>
...@@ -95,7 +94,6 @@ ...@@ -95,7 +94,6 @@
<file>ui/modules/Linphone/Timeline.qml</file> <file>ui/modules/Linphone/Timeline.qml</file>
<file>ui/scripts/Utils/qmldir</file> <file>ui/scripts/Utils/qmldir</file>
<file>ui/scripts/Utils/utils.js</file> <file>ui/scripts/Utils/utils.js</file>
<file>ui/scripts/Utils/utils.spec.qml</file>
<file>ui/views/Calls/Calls.qml</file> <file>ui/views/Calls/Calls.qml</file>
<file>ui/views/Calls/StartingCall.qml</file> <file>ui/views/Calls/StartingCall.qml</file>
<file>ui/views/Calls/StartingIncomingCall.qml</file> <file>ui/views/Calls/StartingIncomingCall.qml</file>
......
...@@ -50,7 +50,7 @@ do ...@@ -50,7 +50,7 @@ do
fi fi
done < $RESOURCES_FILE done < $RESOURCES_FILE
printf "\n" printf "${NC}\n"
if [[ $so_far_so_good == 0 ]]; then if [[ $so_far_so_good == 0 ]]; then
printf "${GREEN}Done. All tests have succeeded.\n" printf "${GREEN}Done. All tests have succeeded.\n"
else else
......
...@@ -23,8 +23,9 @@ do ...@@ -23,8 +23,9 @@ do
basename="${filename##*/}" basename="${filename##*/}"
extension="${filename##*.}" extension="${filename##*.}"
if [[ ${extension} == @(qml|svg|png|jpg|js) || if [[ $extension == @(svg|png|jpg|js) ||
${basename} == qmldir ]]; then $basename == qmldir ||
($extension == qml && $basename != *\.spec\.qml) ]]; then
echo " <file>$filename</file>" >> $RESOURCES_FILE echo " <file>$filename</file>" >> $RESOURCES_FILE
fi fi
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment