mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-18 17:47:32 +00:00
don't execute ios stuff on linux
This commit is contained in:
parent
077d741a1f
commit
d758623f21
BIN
scripts/.test.sh.swo
Normal file
BIN
scripts/.test.sh.swo
Normal file
Binary file not shown.
@ -3,22 +3,24 @@
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
#while pgrep -q Simulator; do
|
if [ "$TARGET" != "react-tests-android" ]; then
|
||||||
|
while pgrep -q Simulator; do
|
||||||
# Kill all the current simulator processes as they may be from a
|
# Kill all the current simulator processes as they may be from a
|
||||||
# different Xcode version
|
# different Xcode version
|
||||||
# pkill Simulator 2>/dev/null || true
|
pkill Simulator 2>/dev/null || true
|
||||||
# CoreSimulatorService doesn't exit when sent SIGTERM
|
# CoreSimulatorService doesn't exit when sent SIGTERM
|
||||||
# pkill -9 Simulator 2>/dev/null || true
|
pkill -9 Simulator 2>/dev/null || true
|
||||||
# done
|
done
|
||||||
|
|
||||||
|
|
||||||
DESTINATION="-destination id=$(xcrun simctl list devices | grep -v unavailable | grep -m 1 -o '[0-9A-F\-]\{36\}')"
|
DESTINATION="-destination id=$(xcrun simctl list devices | grep -v unavailable | grep -m 1 -o '[0-9A-F\-]\{36\}')"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
TARGET=$1
|
TARGET=$1
|
||||||
CONFIGURATION=${2:-"Debug"}
|
CONFIGURATION=${2:-"Debug"}
|
||||||
PACKAGER_OUT="packager_out.txt"
|
|
||||||
|
|
||||||
function start_packager()
|
function start_packager()
|
||||||
{
|
{
|
||||||
|
PACKAGER_OUT="packager_out.txt"
|
||||||
rm -f $PACKAGER_OUT
|
rm -f $PACKAGER_OUT
|
||||||
sh ./node_modules/react-native/packager/packager.sh | tee $PACKAGER_OUT &
|
sh ./node_modules/react-native/packager/packager.sh | tee $PACKAGER_OUT &
|
||||||
while :;
|
while :;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user