mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-02 09:46:28 +00:00
restart simulators
This commit is contained in:
parent
bb7e98cbbe
commit
d9398a0bb9
@ -81,10 +81,6 @@ start_packager() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
xctest() {
|
xctest() {
|
||||||
# if ! [ -z "${JENKINS_HOME}" ]; then
|
|
||||||
# ${SRCROOT}/scripts/reset-simulators.sh
|
|
||||||
# fi
|
|
||||||
|
|
||||||
local dest="$(xcrun simctl list devices | grep -v unavailable | grep -m 1 -o '[0-9A-F\-]\{36\}')"
|
local dest="$(xcrun simctl list devices | grep -v unavailable | grep -m 1 -o '[0-9A-F\-]\{36\}')"
|
||||||
if [ -n "$XCPRETTY" ]; then
|
if [ -n "$XCPRETTY" ]; then
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
@ -126,6 +122,10 @@ case "$TARGET" in
|
|||||||
xctest RealmJS
|
xctest RealmJS
|
||||||
;;
|
;;
|
||||||
"react-tests")
|
"react-tests")
|
||||||
|
if ! [ -z "${JENKINS_HOME}" ]; then
|
||||||
|
${SRCROOT}/scripts/reset-simulators.sh
|
||||||
|
fi
|
||||||
|
|
||||||
pushd tests/react-test-app
|
pushd tests/react-test-app
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
@ -136,6 +136,10 @@ case "$TARGET" in
|
|||||||
xctest ReactTestApp || xctest ReactTestApp
|
xctest ReactTestApp || xctest ReactTestApp
|
||||||
;;
|
;;
|
||||||
"react-example")
|
"react-example")
|
||||||
|
if ! [ -z "${JENKINS_HOME}" ]; then
|
||||||
|
${SRCROOT}/scripts/reset-simulators.sh
|
||||||
|
fi
|
||||||
|
|
||||||
pushd examples/ReactExample
|
pushd examples/ReactExample
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user