Module: OS::Linux::TestBot::FormulaeDependents Private

Extended by:
T::Helpers
Included in:
Homebrew::TestBot::FormulaeDependents
Defined in:
extend/os/linux/test_bot.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Instance Method Summary collapse

Instance Method Details

#build_dependent_from_source?(dependent) ⇒ Boolean

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:

  • (Boolean)


45
46
47
# File 'extend/os/linux/test_bot.rb', line 45

def build_dependent_from_source?(dependent)
  dependent.requirements.include?(LinuxRequirement.new)
end

#skip_recursive_dependents?(formula, args:) ⇒ Boolean

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:

  • (Boolean)


40
41
42
# File 'extend/os/linux/test_bot.rb', line 40

def skip_recursive_dependents?(formula, args:)
  super || formula.requirements.exclude?(LinuxRequirement.new)
end