29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# File 'lib/ios/iosOption.rb', line 29
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 "✅ Swiftgen instalado com sucesso"
install_tuist
install_hooks
end
|