Commit Graph
10 Commits
Author SHA1 Message Date
Max Howell 46c38bf6dd Force contributors to define a test by adding it to the create template
A little cheeky but it should help us to maintain higher quality.
2011-08-25 00:53:37 +01:00
Jack Nagel d3d8a916cf Fix misspelled method name: Formula.canonical_name
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-07 21:50:37 -07:00
Martin Kühl 413cd1e1d3 Fix formula paths for manually specified names.
When the name of a new formula can't be autodetected, it defaults to the empty
string. When it then gets read from user input later on, the new name is used
but the formula path, based on the name, stays empty.

This change sets the path after a new name was read.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-09 09:43:48 -07:00
Adam Vandenberg 7e7d6edb31 brew create: remind people to 'brew audit' 2011-04-05 08:37:59 -07:00
Adam Vandenberg 1f6f0ee7f3 brew create: ensure CACHE folder exists 2011-04-05 08:31:05 -07:00
Max Howell c281011e5b Remove unused exception; Closes #4652
If version cannot be determined, then instruct the user to add one.
2011-03-13 16:16:17 +00:00
Max Howell 6530586046 Replace create --cache with create --no-fetch
Because since 0.8 we do the opposite, ie. download by default.
2011-03-13 12:52:41 +00:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Max Howell c051e2d91a Refactor the blacklists
Also don't abort searches if the query matches a blacklist. Eg.
`brew search vim` should return macvim and the information that vim itself is
not packaged.
2011-03-12 11:55:02 -08: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