2
0
mirror of https://github.com/status-im/react-native.git synced 2025-01-20 14:29:16 +00:00
2015-03-26 09:17:17 -07:00

26 lines
548 B
Bash
Executable File

#!/bin/sh
# Run from react-native root
set -e
if [ -z "$1" ]
then
echo "You must supply an OS version as the first arg, e.g. 8.1"
exit 255
fi
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