| Age | Commit message (Collapse) | Author |
|
|
|
info: print requirements
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Make it more obvious which class was unsatisfied to produce this error
message.
|
|
We now have "magic" to automatically handle `brew cask` and `brew bundle`
calls without needing to tap those taps manually beforehand. Let's reflect that
in this wording for consistency.
Closes #427.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
Closes Homebrew/homebrew#48008.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Similar to which, except it returns all of paths where binary is found.
i.e. it's equivalent to `which -a`.
|
|
This means that dependencies can be merged but still maintain all
their option names.
Closes Homebrew/homebrew#46916.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
It's never used since a0a93f1b3b7b2be9b8a319be91086ffe220f8e32.
Closes Homebrew/homebrew#43462.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#43107.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Print out the message pointing to the Cask and/or download location too.a
|
|
|
|
|
|
|
|
|
|
This is currently still very messy and we probably want to work out the
best way to declare what parts of our DSL/what files are "public".
Still, even if this is a WIP I'd rather get something committed sooner
rather than later and start iterating on this as a replacement for
`example_formula.rb` and the formula cookbook.
To test:
```bash
cd $(brew --prefix)/Library/Homebrew && \
rdoc formula.rb requirement.rb utils.rb &&\
open doc/index.html
```
Closes Homebrew/homebrew#32470.
|
|
|
|
|
|
|
|
|
|
|
|
There is a nasty circular dependency here:
formula.rb
requirement.rb
extend/ENV.rb
extend/ENV/shared.rb
formula.rb
Probably the information that the build environment needs from formula
should be passed in at runtime, but that seems hard and I really just
want to be able to run the tests with warnings turned on. :/
|
|
|
|
|
|
|
|
Allows disabling bottles from requirements.
|
|
|
|
|
|
|
|
|
|
Instead we use which with a custom PATH.
|
|
|
|
The implementation of #eql? and #hash should ensure that if a.eql?(b),
then a.hash == b.hash, but #eql? itself should not *depend* on #hash.
For example, given
class Thingy
def eql?
instance_of?(other.class) && hash == other.hash
end
def hash
[name, *tags].hash
end
end
if #hash produces a collision for different values of [name, *tags], two
Thingy objects will appear to be eql?, even though this is not the case.
Instead, #eql? should depend on the equality of name and tags directly.
|
|
|
|
This hack was necessary since requirements were not checked again
in the forked build process, but now they are, and calling it again
after the build environment has been set up can produce incorrect
results. In fact, if it happens to return false the second time,
the env modification will be skipped altogether.
|
|
|
|
Closes Homebrew/homebrew#20239.
|
|
Fixes Homebrew/homebrew#19857.
|
|
|
|
|
|
This allows default resolution of requirements without user intervention.
Closes Homebrew/homebrew#19627.
|
|
By always passing around a single, unnested array rather than splatting
and then defensively flattening and compacting things, we can avoid
allocating a bunch of unnecessary arrays. This gives a performance boost
of roughly 4% when enumerating 2500 formulae, and has the side effect of
cleaning up the dependency API.
|
|
This was meant to support:
env do |req|
append_path 'PATH', req.some_method
...
end
i.e., the block was evaluated in the context of ENV. But it turned out
to be not so useful after all, so I'm ripping it out before something
actually depends on it.
|