Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. set -eu
  4.  
  5. ## Setup environment
  6.  
  7. defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES
  8.  
  9. ## Install tools
  10.  
  11. # Carthage
  12. if [ ! $(which carthage) ]; then
  13. echo " + Installing carthage..."
  14. brew install carthage
  15. else
  16. echo " + Carthage found."
  17. fi
  18.  
  19. # XcodeGen
  20. if [ ! $(which xcodegen) ]; then
  21. echo " + Installing XcodeGen..."
  22. brew install xcodegen
  23. else
  24. echo " + XcodeGen found."
  25. fi
  26.  
  27. # SwiftLint
  28. if [ ! $(which swiftlint) ]; then
  29. echo " + Installing SwiftLint..."
  30. brew install swiftlint
  31. else
  32. echo " + SwiftLint found."
  33. fi
  34.  
  35.  
  36. # SwiftFormat
  37. if [ ! $(which swiftformat) ]; then
  38. echo " + Installing SwiftFormat..."
  39. brew install swiftformat
  40. else
  41. echo " + SwiftFormat found."
  42. fi
  43.  
  44. # Bundler
  45. if [ ! $(which bundle) ]; then
  46. echo " + Installing bundler..."
  47. gem install bundler
  48. else
  49. echo " + Bundler found."
  50. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement