Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -eu
- ## Setup environment
- defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES
- ## Install tools
- # Carthage
- if [ ! $(which carthage) ]; then
- echo " + Installing carthage..."
- brew install carthage
- else
- echo " + Carthage found."
- fi
- # XcodeGen
- if [ ! $(which xcodegen) ]; then
- echo " + Installing XcodeGen..."
- brew install xcodegen
- else
- echo " + XcodeGen found."
- fi
- # SwiftLint
- if [ ! $(which swiftlint) ]; then
- echo " + Installing SwiftLint..."
- brew install swiftlint
- else
- echo " + SwiftLint found."
- fi
- # SwiftFormat
- if [ ! $(which swiftformat) ]; then
- echo " + Installing SwiftFormat..."
- brew install swiftformat
- else
- echo " + SwiftFormat found."
- fi
- # Bundler
- if [ ! $(which bundle) ]; then
- echo " + Installing bundler..."
- gem install bundler
- else
- echo " + Bundler found."
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement