Class: App::IOS_CLI
- Inherits:
-
Thor
- Object
- Thor
- App::IOS_CLI
- Defined in:
- lib/ios/iosOption.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/ios/iosOption.rb', line 14 def install puts "Verificando se existe Homebrew instalado" brewExists = system('which -s brew') if brewExists puts "Atualizando Homebrew" system('brew update') else puts "Instalando Homebrew" system("/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"") end puts "Instalando swiftgen" system("brew install swiftgen") puts "✅ Instalado com sucesso" end |
#module ⇒ Object
9 10 11 |
# File 'lib/ios/iosOption.rb', line 9 def module IOS::TemplateConfigurator.new.run end |