This raise happened in no other ENV methods, and isn't really necessary
since fails_with guards against this method actually being called unless
gcc-4.2 is actually installed.
Since ENV.cc/cxx are accessors to ENV, any values being passed through
are coerced into strings, which means that a nil `ENV.cc` is actually
an empty string - which isn't considered to be false in Ruby.
Fixesmistydemeo/tigerbrew#161.
Fixesmistydemeo/tigerbrew#135.
This can happen on e.g. fossil where the dependency HEAD requires having
an install of fossil in order to check it out. Bit of a silly edge case
but this handles it.
FixesHomebrew/homebrew#25605
Solely because I think `ENV.deparallelize` is *way* clearer than
`ENV.j1`, at least to the uninitiated.
Also, updating the template will reduce the number of `ENV.j1`s that
persist because the Homebrew maintainers want clean histories of
formulae. Ideally, this change should prevent any more cases from being
introduced!
ClosesHomebrew/homebrew#25431.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
With this brew-test-bot doesn't skip builds, if a requirement isn't
satisfied but a default_formula is specified.
This default_formula is already in dependencies, because of brew deps.
ClosesHomebrew/homebrew#25398.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
The traditional approach to installing the dependencies of a formula is
the following:
brew install `brew deps formula`
This approach ignores any options that are specified in the parent
formula. This pull request adds a --only-dependencies option to brew
install that installs the dependencies of a formula with optional flags,
but returns before installing the parent formula.
ClosesHomebrew/homebrew#25272.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>