mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-14 02:14:44 +00:00
build script improved
This commit is contained in:
parent
6321d22fc9
commit
dd113d5dc0
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user