mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
a217c8bc9c
Summary: This is a simple change to allow not specifying xcodebuild's `-destination` flag if we just need to build the project without running the test. Reviewed By: bestander Differential Revision: D4173546 fbshipit-source-id: 0b77bb5fc01d8cb6a8c9bc765294796631839655
17 lines
358 B
Bash
Executable File
17 lines
358 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
SCRIPTS=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
ROOT=$(dirname $SCRIPTS)
|
|
|
|
cd $ROOT
|
|
|
|
XCODE_PROJECT="Examples/UIExplorer/UIExplorer.xcodeproj"
|
|
XCODE_SCHEME="UIExplorer"
|
|
XCODE_SDK="iphonesimulator"
|
|
if [ -z ${XCODE_DESTINATION+x} ]; then
|
|
XCODE_DESTINATION="platform=iOS Simulator,name=iPhone 5s,OS=10.0"
|
|
fi
|
|
|
|
. ./scripts/objc-test.sh
|