build script improved

This commit is contained in:
John Preston 2015-10-01 17:26:06 +03:00
parent 6321d22fc9
commit dd113d5dc0

View File

@ -1,3 +1,5 @@
set -e
while IFS='' read -r line || [[ -n "$line" ]]; do
set $line
eval $1="$2"
@ -106,8 +108,8 @@ fi
if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarget" == "macstore" ]; then
touch ./SourceFiles/telegram.qrc or exit 1
xcodebuild -project Telegram.xcodeproj -alltargets -configuration Release build or exit 1
touch ./SourceFiles/telegram.qrc
xcodebuild -project Telegram.xcodeproj -alltargets -configuration Release build
if [ ! -d "$ReleasePath/$BinaryName.app" ]; then
echo "$BinaryName.app not found!"