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)


54
55
56
# File 'extend/os/linux/test_bot.rb', line 54

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)


49
50
51
# File 'extend/os/linux/test_bot.rb', line 49

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