mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
20 lines
441 B
Bash
20 lines
441 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Run from react-native root
|
||
|
|
||
|
set -e
|
||
|
|
||
|
xctool \
|
||
|
-project IntegrationTests/IntegrationTests.xcodeproj \
|
||
|
-scheme IntegrationTests \
|
||
|
-sdk iphonesimulator8.1 \
|
||
|
-destination "platform=iOS Simulator,OS=${1},name=iPhone 5" \
|
||
|
build test
|
||
|
|
||
|
xctool \
|
||
|
-project Examples/UIExplorer/UIExplorer.xcodeproj \
|
||
|
-scheme UIExplorer \
|
||
|
-sdk iphonesimulator8.1 \
|
||
|
-destination "platform=iOS Simulator,OS=${1},name=iPhone 5" \
|
||
|
build test
|