rename ios setup script

This commit is contained in:
Ivan Smolin 2019-06-11 12:48:30 +03:00
parent b0dff239f9
commit 27a29b573f
1 changed files with 6 additions and 0 deletions

View File

@ -5,22 +5,28 @@ PROJECT_PATH=$1
cd ${PROJECT_PATH} cd ${PROJECT_PATH}
# Install ruby dependencies (cocoapods, fastlane, etc.) # Install ruby dependencies (cocoapods, fastlane, etc.)
bundle install bundle install
# install Homebrew # install Homebrew
if [[ $(command -v brew) == "" ]]; then if [[ $(command -v brew) == "" ]]; then
# Prevent "Press RETURN to continue or any other key to abort" message when installing Homebrew # Prevent "Press RETURN to continue or any other key to abort" message when installing Homebrew
export CI=true export CI=true
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi fi
# Install brew dependencies (carthage, etc.) # Install brew dependencies (carthage, etc.)
brew bundle brew bundle
# Install pods dependencies # Install pods dependencies
bundle exec pod repo update bundle exec pod repo update
bundle exec pod install bundle exec pod install
# Install carthage dependencies # Install carthage dependencies
carthage bootstrap --platform iOS carthage bootstrap --platform iOS