mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-02-05 14:23:28 +00:00
Merge pull request #32 from matt-oakes/circleci-release
chore(CI): Fix iOS release build bundling so tests pass
This commit is contained in:
commit
4eb1c4ef88
@ -938,7 +938,7 @@
|
|||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "if [ \"$CONFIGURATION\" == \"Debug\" ]; then\n echo \"Debug Configuration\"\n export NODE_BINARY=node\n ../../node_modules/react-native/scripts/react-native-xcode.sh\nelse\n echo \"Tests: Release Configuration\"\n RESOURCE_PATH=$SRCROOT/../../.tmp\n FILENAME_IN_BUNDLE=main.jsbundle\n BUILD_APP_DIR=${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app\n cp $RESOURCE_PATH/ios-bundle.js $BUILD_APP_DIR/$FILENAME_IN_BUNDLE\n echo \"Tests: Copied main.jsbundle from ./.tmp\"\nfi\n";
|
shellScript = "export NODE_BINARY=node\n../../node_modules/react-native/scripts/react-native-xcode.sh\n";
|
||||||
};
|
};
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user