summaryrefslogtreecommitdiff
path: root/prepare_debug_dir.sh
diff options
context:
space:
mode:
Diffstat (limited to 'prepare_debug_dir.sh')
-rwxr-xr-xprepare_debug_dir.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/prepare_debug_dir.sh b/prepare_debug_dir.sh
index 04dd8df..d266716 100755
--- a/prepare_debug_dir.sh
+++ b/prepare_debug_dir.sh
@@ -28,12 +28,13 @@ SCRIPT_PATH=$(readlink -f "$0")
SOWATCH_ROOT=$(dirname "$SCRIPT_PATH")
BUILD_ROOT=$(pwd)
-rm -r drivers notifications watchlets
+rm -r drivers notifications watchlets com
mkdir -p drivers notifications watchlets
+mkdir -p com/javispedro/sowatch
make_symlinks $BUILD_ROOT/*/lib*driver.so drivers
make_symlinks $BUILD_ROOT/*/lib*notification.so notifications
-make_symlinks $BUILD_ROOT/*/lib*watchlet.so watchlets
+make_symlinks $BUILD_ROOT/*/lib*watchlet{s,}.so watchlets
for i in $SOWATCH_ROOT/*; do
b="$BUILD_ROOT/$(basename $i)"
@@ -42,6 +43,12 @@ for i in $SOWATCH_ROOT/*; do
if [ -d "$i/res" ]; then
make_symlinks $i/res/* "$b"
fi
+ if [ -d "$i/qml" ]; then
+ make_symlinks $i/qml/* "$b"
+ fi
+ if [ -d "$i/qml/com/javispedro/sowatch" ]; then
+ make_symlinks $i/qml/com/javispedro/sowatch/* com/javispedro/sowatch
+ fi
fi
done