Skip to content

Commit 76faf20

Browse files
author
Boris Spektor
committed
Removed binaries and improved build scripts
1 parent 5619f82 commit 76faf20

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ DerivedData/*
1616
.DS_Store
1717
out
1818
build.log
19+
build/

build_all

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1+
#!/bin/sh
2+
set -e
3+
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
4+
cd $DIR
5+
16
rm -rf build
27
mkdir build
38

4-
build_failed=0
5-
xcodebuild -configuration Release -sdk iphoneos -project submodules/soomla-ios-core/SoomlaiOSCore.xcodeproj -target SoomlaiOSCore clean build CREATING_UNIVERSAL_DIR=$PWD/build
6-
if [ $? != 0 ]; then
7-
build_failed=1
8-
fi
9+
submodules/build_all
10+
cp -r submodules/soomla-ios-core/build/* build/
911
xcodebuild -configuration Release -sdk iphoneos -project SoomlaiOSStore.xcodeproj -target SoomlaiOSStore clean build CREATING_UNIVERSAL_DIR=$PWD/build
10-
if [ $? != 0 ]; then
11-
build_failed=1
12-
fi
13-
exit $build_failed
12+
13+
cd - > /dev/null

submodules/build_all

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
set -e
3+
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
4+
$DIR/soomla-ios-core/build_all

0 commit comments

Comments
 (0)