mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
7329522a28
This commit does a couple of things: - add StatusQ as a dependency (https://github.com/status-im/StatusQ) our emerging component library - updates the rcc generation script to follow symlinks as well - add qrc:/./StatusQ/src as import path At the time of creating this commit `StatusQ` provides only the StatusIcon component, but more will be added in the future.
15 lines
420 B
Bash
Executable File
15 lines
420 B
Bash
Executable File
#!/bin/sh
|
|
cd ./ui/
|
|
QRC=./resources.qrc
|
|
echo '<!DOCTYPE RCC>' > $QRC
|
|
echo '<RCC version="1.0">' >> $QRC
|
|
echo ' <qresource>' >> $QRC
|
|
for a in $(find -L . -not -name "*.pro" -not -name "*.rcc" -not -name "*.sh" -not -name "*.qrc" -not -name ".git" -not -name ".gitignore" )
|
|
do
|
|
if [ ! -d "$a" ]; then
|
|
echo ' <file>'$a'</file>' >> $QRC
|
|
fi
|
|
done
|
|
echo ' </qresource>' >> $QRC
|
|
echo '</RCC>' >> $QRC
|
|
cd .. |