Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] Build iosapp with make ios
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Apr 12, 2016
1 parent 92c71ad commit 7a2d766
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,17 @@ test-osx: $(OSX_PROJ_PATH) $(OSX_PROJ_PATH)/xcshareddata/xcschemes/osxtest.xcsch
#### iOS targets ##############################################################

IOS_PROJ_PATH = build/ios-all/platform/ios/platform.xcodeproj
IOS_WORK_PATH = platform/ios/ios.xcworkspace

ios:
$(RUN) PLATFORM=ios Xcode/All
set -o pipefail && xcodebuild -workspace $(IOS_WORK_PATH) -configuration $(BUILDTYPE) -scheme iosapp build | xcpretty

$(IOS_PROJ_PATH): platform/ios/platform.gyp platform/ios/scripts/configure.sh mbgl.gypi test/test.gypi
$(RUN) PLATFORM=ios Xcode/__project__

iproj: $(IOS_PROJ_PATH)
open platform/ios/ios.xcworkspace
open $(IOS_WORK_PATH)

test-ios: $(IOS_PROJ_PATH)
set -o pipefail && xcodebuild -project $(IOS_PROJ_PATH) -configuration $(BUILDTYPE) \
Expand Down

0 comments on commit 7a2d766

Please sign in to comment.