Module: Homebrew::Install Private
- Included in:
- Homebrew
- Defined in:
- Library/Homebrew/install.rb,
Library/Homebrew/extend/os/linux/install.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Helper module for performing (pre-)install checks.
Class Method Summary collapse
- .generic_perform_preinstall_checks ⇒ Object private
- .perform_build_from_source_checks(all_fatal: false) ⇒ Object private
- .perform_preinstall_checks(all_fatal: false, cc: nil) ⇒ Object private
Class Method Details
.generic_perform_preinstall_checks ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 |
# File 'Library/Homebrew/install.rb', line 23 alias generic_perform_preinstall_checks perform_preinstall_checks |
.perform_build_from_source_checks(all_fatal: false) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
26 27 28 29 |
# File 'Library/Homebrew/install.rb', line 26 def perform_build_from_source_checks(all_fatal: false) Diagnostic.checks(:fatal_build_from_source_checks) Diagnostic.checks(:build_from_source_checks, fatal: all_fatal) end |
.perform_preinstall_checks(all_fatal: false, cc: nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 19 20 21 22 |
# File 'Library/Homebrew/install.rb', line 16 def perform_preinstall_checks(all_fatal: false, cc: nil) check_cpu attempt_directory_creation check_cc_argv(cc) Diagnostic.checks(:supported_configuration_checks, fatal: all_fatal) Diagnostic.checks(:fatal_preinstall_checks) end |