From fe71cb962ef0f87e4274924290c71e7223f2ad34 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 25 Feb 2016 14:38:33 +0300 Subject: [PATCH] build without resource recompile added in os x --- Telegram/Build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Telegram/Build.sh b/Telegram/Build.sh index 615639257f..c0efe0de8b 100755 --- a/Telegram/Build.sh +++ b/Telegram/Build.sh @@ -1,5 +1,7 @@ set -e +FastParam="$1" + while IFS='' read -r line || [[ -n "$line" ]]; do set $line eval $1="$2" @@ -189,7 +191,9 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarg DropboxSymbolsPath="./../../../Dropbox/Telegram/symbols" - touch "./SourceFiles/telegram.qrc" + if [ "$FastParam" != "fast" ]; then + touch "./SourceFiles/telegram.qrc" + fi xcodebuild -project Telegram.xcodeproj -alltargets -configuration Release build if [ ! -d "$ReleasePath/$BinaryName.app" ]; then