class MacSetup::CommandLineToolsInstaller

Constants

BIN_PATH

Public Class Methods

run() click to toggle source
# File lib/mac_setup/command_line_tools_installer.rb, line 7
def self.run
  if File.exist?(BIN_PATH)
    puts "Command Line Tools already installed. Skipping..."
  else
    Shell.run("xcode-select --install")
  end
end