Class: Kompo::InstallDeps::ForMacOS::InstallLibyaml::Installed
- Inherits:
-
Taski::Task
- Object
- Taski::Task
- Kompo::InstallDeps::ForMacOS::InstallLibyaml::Installed
- Defined in:
- lib/kompo/tasks/install_deps.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
173 174 175 176 177 178 |
# File 'lib/kompo/tasks/install_deps.rb', line 173 def run brew = HomebrewPath.path prefix = `#{brew} --prefix #{BREW_NAME} 2>/dev/null`.chomp @lib_path = "-L#{prefix}/lib" if $CHILD_STATUS.success? && !prefix.empty? puts "#{BREW_NAME} is already installed" end |