script fix

This commit is contained in:
Ari Lazier 2016-01-22 13:32:56 -08:00
parent d758623f21
commit e94017d039

View File

@ -3,6 +3,9 @@
set -o pipefail
set -e
TARGET=$1
CONFIGURATION=${2:-"Debug"}
if [ "$TARGET" != "react-tests-android" ]; then
while pgrep -q Simulator; do
# Kill all the current simulator processes as they may be from a
@ -14,10 +17,6 @@ while pgrep -q Simulator; do
DESTINATION="-destination id=$(xcrun simctl list devices | grep -v unavailable | grep -m 1 -o '[0-9A-F\-]\{36\}')"
fi
TARGET=$1
CONFIGURATION=${2:-"Debug"}
function start_packager()
{
PACKAGER_OUT="packager_out.txt"