Class: Kompo::InstallDeps::ForMacOS::InstallReadline

Inherits:
Taski::Section
  • Object
show all
Defined in:
lib/kompo/tasks/install_deps.rb

Overview

Readline library installation Section

Defined Under Namespace

Classes: Install, Installed

Constant Summary collapse

BREW_NAME =
"readline"
MARKER_FILE =
File.expand_path("~/.kompo_installed_readline")

Instance Method Summary collapse

Instance Method Details

#implObject



121
122
123
124
# File 'lib/kompo/tasks/install_deps.rb', line 121

def impl
  brew = HomebrewPath.path
  system("#{brew} list #{BREW_NAME} > /dev/null 2>&1") ? Installed : Install
end