From 04da1dc13ea8a0eaeb2df6775f3fb17f1c501f6c Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Tue, 28 Jan 2020 07:32:02 -0800 Subject: [PATCH] Add git submodule initialization to postinstall script (#1301) * init git submodules in postinstall --- scripts/postinstall.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index a19fa82c748..459536fa13d 100755 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -148,3 +148,7 @@ rm -rf node_modules/react-native/React/React.xcodeproj/project.pbxproj.bak echo "15. Remove Branch examples" rm -rf node_modules/react-native-branch/examples/ rm -rf node_modules/react-native-branch/native-tests/ + +echo "16. Init git submodules" +echo "This may take a while..." +git submodule update --init