mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 06:38:07 +00:00
feat(tool/update_resources): ignore *.spec.qml files
This commit is contained in:
parent
260cebc8de
commit
cb746f199d
3 changed files with 5 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource prefix="">
|
||||
<qresource prefix="/">
|
||||
<file>imgs/add_field.svg</file>
|
||||
<file>imgs/call.svg</file>
|
||||
<file>imgs/cam.svg</file>
|
||||
|
|
@ -32,7 +32,6 @@
|
|||
<file>ui/modules/Common/Colors.qml</file>
|
||||
<file>ui/modules/Common/Constants.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/DialogPlus.qml</file>
|
||||
<file>ui/modules/Common/DroppableTextArea.qml</file>
|
||||
|
|
@ -95,7 +94,6 @@
|
|||
<file>ui/modules/Linphone/Timeline.qml</file>
|
||||
<file>ui/scripts/Utils/qmldir</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/StartingCall.qml</file>
|
||||
<file>ui/views/Calls/StartingIncomingCall.qml</file>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ do
|
|||
fi
|
||||
done < $RESOURCES_FILE
|
||||
|
||||
printf "\n"
|
||||
printf "${NC}\n"
|
||||
if [[ $so_far_so_good == 0 ]]; then
|
||||
printf "${GREEN}Done. All tests have succeeded.\n"
|
||||
else
|
||||
|
|
|
|||
|
|
@ -23,8 +23,9 @@ do
|
|||
basename="${filename##*/}"
|
||||
extension="${filename##*.}"
|
||||
|
||||
if [[ ${extension} == @(qml|svg|png|jpg|js) ||
|
||||
${basename} == qmldir ]]; then
|
||||
if [[ $extension == @(svg|png|jpg|js) ||
|
||||
$basename == qmldir ||
|
||||
($extension == qml && $basename != *\.spec\.qml) ]]; then
|
||||
echo " <file>$filename</file>" >> $RESOURCES_FILE
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue