application-services/run-ios-tests.sh

18 строки
438 B
Bash
Executable File

#!/usr/bin/env bash
set -euvx
# Help out iOS folks who might want to run this but haven't
# updated rust recently.
rustup update stable
set -o pipefail && \
xcodebuild \
-workspace ./megazords/ios/MozillaAppServices.xcodeproj/project.xcworkspace \
-scheme MozillaAppServices \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone X' \
test | \
tee raw_xcodetest.log | \
xcpretty && exit "${PIPESTATUS[0]}"