From 225dc5ab0327a2d27d409ccd286c4c23c4a52b96 Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Fri, 1 Dec 2023 11:10:17 -0700 Subject: [PATCH] add .easignore step (#5216) --- scripts/eas-build-pre-install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/eas-build-pre-install.sh b/scripts/eas-build-pre-install.sh index a91b125c272..391696ab238 100755 --- a/scripts/eas-build-pre-install.sh +++ b/scripts/eas-build-pre-install.sh @@ -3,20 +3,30 @@ echo "PRE INSTALLING" if [ -n "$RAINBOW_SCRIPTS_INTERNALS" ]; then + echo "🌈 Pulling latest rainbow-scripts code from github" git clone https://$RAINBOW_SCRIPTS_TOKEN$RAINBOW_SCRIPTS_INTERNALS cd rainbow-scripts git checkout prebuild cd .. fi +echo "🌈 Creating .easignore" +bash $RAINBOW_SCRIPTS_APP_EASIGNORE_HOOK; + if [ "$EAS_BUILD_PLATFORM" = "ios" ]; then + echo "🌈 Executing iOS prebuild.sh script" bash $RAINBOW_SCRIPTS_APP_IOS_PREBUILD_HOOK; echo "✅ executed ios prebuild hook" fi if [ "$EAS_BUILD_PLATFORM" = "android" ]; then + echo "🌈 Executing Android prebuild.sh script" bash $RAINBOW_SCRIPTS_APP_ANDROID_PREBUILD_HOOK; echo "✅ executed android prebuild hook" fi + +echo "🌈 Finished preinstallation..." +echo "🌈 Running yarn setup..." + yarn setup \ No newline at end of file