Skip to content

Commit

Permalink
Create build-2020.0.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lingjieee authored Apr 30, 2020
1 parent 93b266f commit 12e3fba
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions build-2020.0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
echo "================Clone repository================"
git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 2020.0 rdm
echo "================Clone success================"

echo "================Install Python requirements================"
cd rdm
cp ./src/resources/Info.plist.sample ./src/resources/Info.plist
pip3 install -t /bin/osx/release -r src/py/requirements.txt
echo "================Install success================"

echo "================Build================"
cd src
qmake CONFIG-=debug CONFIG+=sdk_no_version_check
make -s -j 8

echo "================Copy requirements================"
cd ../bin/osx/release
macdeployqt Redis\ Desktop\ Manager.app -qmldir=../../../src/qml

echo "=======BUILD SUCCESS====="

0 comments on commit 12e3fba

Please sign in to comment.