Skip to content

Commit

Permalink
clean deploy path
Browse files Browse the repository at this point in the history
  • Loading branch information
freemountain committed Feb 4, 2017
1 parent a9a459c commit 2ce862e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions tools/deploy_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ echo "QT: $QT_PATH"
DEPLOY_CMD="$PROJECT_PATH/build/tools/linuxdeployqt $TARGET_BIN -no-strip -qmldir=$PROJECT_PATH/src/libquark/qml"

pushd . > /dev/null
rm -rf "$DIST_PATH"

"$PROJECT_PATH/qbs_wrapper" install --install-root $DIST_PATH -p $TARGET_APP profile:$PROFILE

Expand Down
6 changes: 4 additions & 2 deletions tools/deploy_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ PROJECT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../"
TARGET_APP=$1
QT_PATH="$($PROJECT_PATH/tools/get_qt_path.sh)"

"$PROJECT_PATH/qbs_wrapper" install --install-root $PROJECT_PATH/dist -p $TARGET_APP
$QT_PATH/macdeployqt $PROJECT_PATH/dist/$TARGET_APP.app -qmldir=$PROJECT_PATH/src/libquark/qml
rm -rf "$PROJECT_PATH/dist/mac"

"$PROJECT_PATH/qbs_wrapper" install --install-root $PROJECT_PATH/dist/mac -p $TARGET_APP
$QT_PATH/macdeployqt $PROJECT_PATH/dist/mac/$TARGET_APP.app -qmldir=$PROJECT_PATH/src/libquark/qml
1 change: 1 addition & 0 deletions tools/deploy_win.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TARGET_APP=$1
PROFILE=$2

pushd . > /dev/null
rm -rf "$PROJECT_PATH/dist/win"

"$PROJECT_PATH/qbs_wrapper" install --install-root "$PROJECT_PATH/dist/win" -p $TARGET_APP profile:$PROFILE
cd "$PROJECT_PATH/dist/win"
Expand Down

0 comments on commit 2ce862e

Please sign in to comment.