Class: Kompo::InstallDeps::ForMacOS::InstallOpenssl

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

Overview

OpenSSL library installation Section

Defined Under Namespace

Classes: Install, Installed

Constant Summary collapse

BREW_NAME =
"openssl@3"
MARKER_FILE =
File.expand_path("~/.kompo_installed_openssl")

Instance Method Summary collapse

Instance Method Details

#implObject



78
79
80
81
# File 'lib/kompo/tasks/install_deps.rb', line 78

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