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:
parent
d34a2c9797
commit
665fc86a6e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue