mirror of
https://github.com/status-im/react-native.git
synced 2025-01-29 18:54:58 +00:00
Skip bundling for Simulator
Summary: Following up on the conversation in https://www.prod.facebook.com/groups/reactnativeoss/permalink/1516993445263951/ I currently don't see any good reason to create an offline bundle for simulator builds. Closes https://github.com/facebook/react-native/pull/5519 Reviewed By: svcscm Differential Revision: D2859751 Pulled By: mkonicek fb-gh-sync-id: f70481e447e258f5531de773729fc31d9ebec6f7
This commit is contained in:
parent
7419a82bd7
commit
5f0ef12cb5
@ -10,6 +10,13 @@
|
|||||||
# This script is supposed to be invoked as part of Xcode build process
|
# This script is supposed to be invoked as part of Xcode build process
|
||||||
# and relies on envoronment variables (including PWD) set by Xcode
|
# and relies on envoronment variables (including PWD) set by Xcode
|
||||||
|
|
||||||
|
# There is no point in creating an offline package for simulator builds
|
||||||
|
# because the packager is supposed to be running during development anyways
|
||||||
|
if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then
|
||||||
|
echo "Skipping bundling for Simulator platform"
|
||||||
|
exit 0;
|
||||||
|
fi
|
||||||
|
|
||||||
case "$CONFIGURATION" in
|
case "$CONFIGURATION" in
|
||||||
Debug)
|
Debug)
|
||||||
DEV=true
|
DEV=true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user