Class: Kompo::InstallDeps::ForMacOS::InstallLibyaml
- Inherits:
-
Taski::Section
- Object
- Taski::Section
- Kompo::InstallDeps::ForMacOS::InstallLibyaml
- Defined in:
- lib/kompo/tasks/install_deps.rb
Overview
libyaml library installation Section
Defined Under Namespace
Constant Summary collapse
- BREW_NAME =
"libyaml"- MARKER_FILE =
File.("~/.kompo_installed_libyaml")
Instance Method Summary collapse
Instance Method Details
#impl ⇒ Object
164 165 166 167 |
# File 'lib/kompo/tasks/install_deps.rb', line 164 def impl brew = HomebrewPath.path system("#{brew} list #{BREW_NAME} > /dev/null 2>&1") ? Installed : Install end |