Skip to content

Commit

Permalink
add .easignore step (#5216)
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat authored Dec 1, 2023
1 parent e389189 commit 225dc5a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/eas-build-pre-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 225dc5a

Please sign in to comment.