mirror of https://github.com/procxx/kepka.git
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
|
while IFS='' read -r line || [[ -n "$line" ]]; do
|
||||||
set $line
|
set $line
|
||||||
eval $1="$2"
|
eval $1="$2"
|
||||||
|
@ -106,8 +108,8 @@ fi
|
||||||
|
|
||||||
if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarget" == "macstore" ]; then
|
if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarget" == "macstore" ]; then
|
||||||
|
|
||||||
touch ./SourceFiles/telegram.qrc or exit 1
|
touch ./SourceFiles/telegram.qrc
|
||||||
xcodebuild -project Telegram.xcodeproj -alltargets -configuration Release build or exit 1
|
xcodebuild -project Telegram.xcodeproj -alltargets -configuration Release build
|
||||||
|
|
||||||
if [ ! -d "$ReleasePath/$BinaryName.app" ]; then
|
if [ ! -d "$ReleasePath/$BinaryName.app" ]; then
|
||||||
echo "$BinaryName.app not found!"
|
echo "$BinaryName.app not found!"
|
||||||
|
|
Loading…
Reference in New Issue