Don't build js bundles for debug simulator build configurations

Summary:
Don't build js bundles for debug simulator build configurations

Motivation:
We have more than one debug build configuration that we run in the simulator, and none of them are exactly named 'Debug'. We want to establish the convention that any simulator build configuration containing the word 'Debug' will not build the react js bundles. We believe this is less intrusive to the developer.
Closes https://github.com/facebook/react-native/pull/13472

Differential Revision: D4890622

Pulled By: javache

fbshipit-source-id: 4c809551f64ad575335416de28887a90b0756de1
This commit is contained in:
Alex Kring 2017-04-15 10:08:26 -07:00 committed by Facebook Github Bot
parent 5a87cc6e4b
commit c0533fc57c
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
# and relies on environment variables (including PWD) set by Xcode
case "$CONFIGURATION" in
Debug)
*Debug*)
# Speed up build times by skipping the creation of the offline package for debug
# builds on the simulator since the packager is supposed to be running anyways.
if [[ "$PLATFORM_NAME" == *simulator ]]; then