Merge pull request #5191 from heliclei/develop

[jenkins]add ios build script
This commit is contained in:
James Chen 2014-01-23 08:10:46 -08:00
commit 646dd2f8c5
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#put xctool.sh into your PATH
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
COCOS2DX_ROOT="$DIR"/../..
xctool.sh -project "$COCOS2DX_ROOT"/build/cocos2d_samples.xcodeproj -scheme "build-all-samples iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" clean
xctool.sh -project "$COCOS2DX_ROOT"/build/cocos2d_samples.xcodeproj -scheme "build-all-samples iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build