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