aboutsummaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)Author
2011-03-12Support the `brew instal` typoMax Howell
Because `gem instal` works too.
2011-03-12Some CleanupMax Howell
2011-03-12Refactor the brew command into one file per commandMax Howell
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.
2010-10-30fix warnings: ambiguous splatJamie Macey
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30fix warnings: splat is redundant for putsJamie Macey
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30`brew log` should show complete Git log if no formulae are specifiedMichael Dippery
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-25All vcs strategies support cached_downloadAdam Vandenberg
2010-10-17Add remove --forceAdam Vandenberg
2010-10-17remove - show message when multiple versions existAdam Vandenberg
2010-10-07Consider outdated kegs in brew uses --installedKevin Ballard
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-06Tweak display of missing shaAdam Vandenberg
2010-10-01add Xcode version to brew --configAdam Vandenberg
2010-10-01brew-log accept `git log` options & multiple brewsTianyi Cui
2010-09-30Fix brew edit fooAdam Vandenberg
2010-09-29Use %w quoting in ENV listAdam Vandenberg
2010-09-29Tweak unknown command messageAdam Vandenberg
2010-09-29refactor compiler messagesAdam Vandenberg
2010-09-07Bump Xcode recommendation to 3.2.3Adam Vandenberg
2010-09-06Add ruby target to --configAdam Vandenberg
2010-08-23Remove HOMEBREW_CACHE from "brew --config"Adam Vandenberg
HOMEBREW_CACHE isn't really helpful in diagnosing problems, and some people don't like their username / home folder going into bug reports on the web, so let's take it out.
2010-08-15Tweak 'report error' message.Adam Vandenberg
2010-08-13Add 'brew deps --all'Adam Vandenberg
2010-08-11Add "brew uses --installed"Adam Vandenberg
Passing --installed will limit the list to formulae that you have installed. Documented this and "brew deps --1" which limits the dependency list to one level down (direct dependencies).
2010-08-11Fix uses/deps for LeopardAdam Vandenberg
2010-08-09Add shortcut 'brew dr'.Adam Vandenberg
2010-08-07Resolve aliases in 'brew edit'.Adam Vandenberg
2010-08-070.7 Remove deprecated make commandAdam Vandenberg
2010-08-07ARGV - rename method that conflicts with optparseAdam Vandenberg
optparse adds an "options" method to ARGV, and so does Homebrew. Rename this method (and remove optparse blocking script) so that Homebrew plays nicer with external Ruby software. This fixes the issue where "gem install thin" would break "brew server", for instance.
2010-08-07add URLs to brew infoAdam Vandenberg
2010-08-07Fix brew infoAdam Vandenberg
2010-08-07Significantly simpler `brew uses` and `brew deps`Max Howell
Partly simpler because the output is less pretty. But I think the output is now more useful for other tools. And comma separated lists aren't particularly human-readable IMO either.
2010-08-07Show changed examples on update [telemachus]Adam Vandenberg
* Also move updater output into the class itself
2010-08-07Automatically enable external `brew` commands.Martin Kühl
* Add path to external command examples to PATH. * Only add them to PATH from inside Homebrew. Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Move external commands path down near check
2010-07-29Add name to brew info url and remove external scriptAdam Vandenberg
2010-07-25Fix brew info --allAdam Vandenberg
2010-07-21brew deps --1 does not recurseAdam Vandenberg
2010-07-18brew.h info takes a formula parameter rather than a stringMax Howell
* Preference is for commands to take instantiated formulae as parameters rather than formula names, so alias resolution can be centralized.
2010-07-14When outputting a `brew install -vd` insert the formula nameKyle Fuller
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-13Add command "brew --env"Adam Vandenberg
"brew --env" will set up a build environment and then dump certain ENV variables (CC, CXX, LD, CFLAGS, CXXFLAGS, MAKEFLAGS). If any of CC, CXX, LD are symlinks, now also output the target compiler. (Typically these will be symlinks from eg /usr/bin/cc to /usr/bin/gcc-4.2). This is a diagnostic command which may be merged into --config, turned into an external command, or removed if it doesn't turn out to be useful.
2010-07-08Remove un-needed 'unless' in brew updateAdam Vandenberg
2010-07-03Move data into updater classAdam Vandenberg
2010-07-02Remove $PATH from --config and build dumps.Adam Vandenberg
While it is useful to be able to see the user's path in bug reports, it is perhaps slightly too intrusive to post this without the user's permission. A path can have usernames or other project sensitive information, and several Homebrew users were editing their bug reports to omit this information. `brew doctor` will still report on the path issues that we typically care about, so dropping automatic posting of PATH.
2010-06-23Extract "brew_install".Adam Vandenberg
This was supposed to go in with the "brew-upgrade" external command, but must have been lost in the merge.
2010-06-22Add fink/macports support to 'brew search'.Adam Vandenberg
2010-06-17Extract search_brews methodAdam Vandenberg
2010-06-16Move code to find outdated brew listAdam Vandenberg
2010-06-15Reduce nesting in 'brew up'.Adam Vandenberg
2010-06-15Modify brew update to show if any formulae were removed.Trevor Stevens
2010-06-10Failures during ./configure should mention config.log.Adam Vandenberg
2010-06-07Support external commandsAdam Vandenberg
Homebrew will now look for external commands that are +x on PATH, named as "brew-<cmd>" or "brew-<cmd>.rb" * Shell scripts are exec'd with some HOMEBREW variables set in the ENV. * Ruby scripts are require'd directly. See: http://wiki.github.com/mxcl/homebrew/external-commands