4
0
mirror of https://github.com/QuasarApp/SoundBand.git synced 2025-05-04 19:19:34 +00:00

36 lines
1.2 KiB
Bash
Raw Normal View History

2018-10-27 00:26:57 +03:00
#!/bin/bash
CURRENTDIR=$(dirname "$(readlink -f "$0")")
2018-10-31 18:14:38 +03:00
CQtDeployer="$CURRENTDIR/../../CQtDeployer"
deploy="$CQtDeployer/build/release/cqtdeployer.sh"
2018-10-27 00:26:57 +03:00
qmldir=$1
qmake=$2
2018-10-31 18:14:38 +03:00
chmod +x $CQtDeployer/sharedBuild.sh
$CQtDeployer/sharedBuild.sh $qmake
2018-10-27 00:26:57 +03:00
rm -rdf "$CURRENTDIR/../packages/SoundBand/data"
rm -rdf "$CURRENTDIR/../packages/SoundBand.Tests/data"
mkdir "$CURRENTDIR/../packages/SoundBand/data"
mkdir "$CURRENTDIR/../packages/SoundBand.Tests/data"
cp -R "$CURRENTDIR/../packages/SoundBand/extra/." "$CURRENTDIR/../packages/SoundBand/data"
cp -Rp "$CURRENTDIR/../../SoundBand/build/release/SoundBand" "$CURRENTDIR/../packages/SoundBand/data/"
cp -Rpf "$CURRENTDIR/../../QuasarAppLib/build/release/." "$CURRENTDIR/../packages/SoundBand/data"
cp -Rpf "$CURRENTDIR/../../Sync/build/release/." "$CURRENTDIR/../packages/SoundBand/data/"
cp -Rp "$CURRENTDIR/../../tests/build/release/test" "$CURRENTDIR/../packages/SoundBand.Tests/data/"
chmod +x $deploy
cp -Rpf "$CURRENTDIR/../../CQtDeployer/QuasarAppLib/build/release/." "$CURRENTDIR/../../CQtDeployer/build/release"
2018-10-31 18:14:38 +03:00
$deploy -qmake "$qmake" clear -qmlDir "$qmldir" -bin "$CURRENTDIR/../packages/SoundBand/data/SoundBand"
2018-10-27 00:26:57 +03:00