Class: MacSetup::Plugins::Asdf

Inherits:
MacSetup::Plugin show all
Defined in:
lib/mac_setup/plugins/asdf.rb

Constant Summary collapse

TOOL_VERSIONS_FILE =
Pathname.new("~/.tool-versions").expand_path

Class Method Summary collapse

Methods inherited from MacSetup::Plugin

bootstrap, get_status, load

Class Method Details

.add_requirements(config) ⇒ Object



7
8
9
10
# File 'lib/mac_setup/plugins/asdf.rb', line 7

def add_requirements(config)
  config.require_value(:asdf)
  config.add(:brews, :asdf)
end

.run(config, _status) ⇒ Object



12
13
14
15
# File 'lib/mac_setup/plugins/asdf.rb', line 12

def run(config, _status)
  install_missing_plugins(config)
  install_missing_versions
end