Library/Homebrew/dependency_collector.rb
# Define the languages that we can handle as external dependencies.
Define the languages that we can handle as external dependencies.
Define the languages that we can handle as external dependencies .
def parse_string_spec(spec, tags)
    if tags.empty?
      Dependency.new(spec, tags)
    elsif (tag = tags.first) && LANGUAGE_MODULES.include?(tag)
      LanguageModuleDependency.new(tag, spec)
    elsif HOMEBREW_TAP_FORMULA_REGEX === spec
      TapDependency.new(spec, tags)
    else
      Dependency.new(spec, tags)
    end
  end
def parse_string_spec ( spec , tags ) if tags . empty? Dependency . new ( spec , tags ) elsif ( tag = tags . first ) && LANGUAGE_MODULES . include? ( tag ) LanguageModuleDependency . new ( tag , spec ) elsif HOMEBREW_TAP_FORMULA_REGEX === spec TapDependency . new ( spec , tags ) else Dependency . new ( spec , tags ) end end
Define the languages that we can handle as external dependencies.
Define the languages that we can handle as external dependencies .
spec
<not_specific>
tags
<not_specific>