Commit Graph
9 Commits
Author SHA1 Message Date
Jack Nagel 84d73f6afc uses: utilize modern dependency API 2013-01-26 12:14:49 -06:00
Chad Catlett 8361c218c8 Fix uses cmd
Fixes #17074.
Closes #17075.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-14 06:44:53 -08:00
Max Howell a9e43d65a1 Formula.Enumerable
Deprecated Formula.all, replaced usage with more appropriate enumerable options. Just check out how much nicer `brew audit` runs now.
2012-08-21 12:09:05 -04:00
Adam Vandenberg a75d9d51d0 Add brew uses --recursive
Closes #8870.
2012-03-16 22:00:59 -07:00
Jack Nagel bc14dcf976 Warn the user of required arguments
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-04 00:27:05 -06:00
Adam Vandenberg 3849793c4a uses: do nothing if no args 2012-02-03 21:40:15 -08:00
Charlie Sharpsteen 22f7c7eda3 uses.rb: Pass a block to map instead of a Proc
Passing a `Proc` doesn't work in Ruby 1.8.6 which causes `brew uses` to fail on
Leopard.
2011-11-28 23:29:29 -08:00
Max Howell 842ae1eeea Prettier brew uses output (columnate) 2011-08-24 22:30:43 +01:00
Max Howell 9afc85ad33 Refactor the brew command into one file per command
The code was sucking. To the extent that maintenance was hard. It's a lot
easier to work with code that is sensibly split at sensible boundaries. So
now it is more like that.

But the refactor is minimal. Because we don't want you to have more merge
hell than absolutely necessary.

If you merge you will need to pay attention to brew.h.rb (as it is deleted)
and bin/brew (as command logic is gone). It will be painful, but you will just
have to help git out by moving any changes around manually.

Note compatibility.rb. It ensures that any function renames or removals don't
break anything. We're pretty serious about backwards compatibility. And that's
because we encourage you to hack around with the innards. And we couldn't do
that if we would then just make stuff disappear behind your back.
2011-03-12 11:55:02 -08:00