Class: Kompo::InstallDeps::ForMacOS::InstallLibffi

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

Overview

libffi library installation Section

Defined Under Namespace

Classes: Install, Installed

Constant Summary collapse

BREW_NAME =
"libffi"
MARKER_FILE =
File.expand_path("~/.kompo_installed_libffi")

Instance Method Summary collapse

Instance Method Details

#implObject



250
251
252
253
# File 'lib/kompo/tasks/install_deps.rb', line 250

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