class Faststrap::InstallActions::XcodeCmdToolsInstallAction
Public Class Methods
cmd()
click to toggle source
# File lib/faststrap/install_actions/xcode_cmd_tools_install_action.rb, line 12 def self.cmd system 'xcode-select --install' end
description()
click to toggle source
# File lib/faststrap/install_actions/xcode_cmd_tools_install_action.rb, line 9 def self.description "Install Xcode cmd line tools" end
group()
click to toggle source
# File lib/faststrap/install_actions/xcode_cmd_tools_install_action.rb, line 5 def self.group Faststrap::ActionsGroup::COMAND_LINE end
installed?()
click to toggle source
# File lib/faststrap/install_actions/xcode_cmd_tools_install_action.rb, line 24 def self.installed? `xcode-select -p` $?.success? end
name()
click to toggle source
# File lib/faststrap/install_actions/xcode_cmd_tools_install_action.rb, line 20 def self.name "XcodeCmdTools" end
ucmd()
click to toggle source
# File lib/faststrap/install_actions/xcode_cmd_tools_install_action.rb, line 16 def self.ucmd `sudo rm -rf /Library/Developer/CommandLineTools` end