aboutsummaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)Author
2010-03-03Move --cache command down near --prefix and use AGRV.formulae.Adam Vandenberg
2010-03-03Add support for `brew --prefix [formula ...]`.Martin Kuehl
When `brew --prefix` is called with arguments, assume each argument is a formula and print their prefixes instead. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-27Add 'rebase' to accidental git commands.Adam Vandenberg
2010-02-27`brew outdated` works if there is eg. Cellar/.DS_StoreMax Howell
2010-02-27brew outdatedMax Howell
brew install `brew outdated` will work Apologies that this is long overdue. Fixes Homebrew/homebrew#838
2010-02-24brew --cache [formula]Adam Vandenberg
This developer-oriented command lets you ask Homebrew what the cached filename will be for a brew's tarball.
2010-02-18Add `brew --cellar` command.Adam Vandenberg
The Cellar may not actually be "`brew --prefix`/Cellar". We support the Cellar existing only in the repo but not linked into the prefix, for installs that aren't directly in /usr/local (or other chosen prefix.)
2010-02-16Fix `brew cleanup`: less pruningMartin Kuehl
Running `brew cleanup` (with no arguments or multiple arguments) will run `brew prune` after _every_ cleaned formula, i.e. possibly after every installed formula. With this change it will instead only run `prune` after all formulae are cleaned, and only when no arguments were given to `cleanup`. Signed-off-by: Max Howell <max@methylblue.com> Closes Homebrew/homebrew#743
2010-02-11Don't abort cleanup if formulae are missingAndre Arko
2010-01-18Only try to cleanup directoriesMax Howell
2010-01-18Use Ruby rather than external commandsMax Howell
`ls` could go wrong more than Pathname.children
2010-01-18Add cleanup commandJoshua Peek
* `brew cleanup foo` removes any unlinked foo kegs * `brew cleanup` removes all unlinked kegs
2010-01-16Some bulletproofing for bash completion script.Adam Vandenberg
Since Homebrew's Library doesn't have to be linked under prefix, we need to do some extra work in the bash completion script to support this configuration. Added a "--repository" option to brew, and updated the completion script to use paths relative to this location.
2010-01-16Fixes Homebrew/homebrew#168 - don't show multiple copies of the same dep.Adam Vandenberg
2010-01-16Add recommended GCC & LLVM versions to --config.Adam Vandenberg
2010-01-13Print quotes around executed arguments with spacesMax Howell
Eg: ['foo', 'bar la'] -> "foo 'bar la'"
2010-01-11Detect X11 when ENV.x11 is requested; dump in --config.Adam Vandenberg
2010-01-06Check GitHub for issues relating to build failuresMax Howell
Uses the GitHub issue search API, so it's very neat and concise. However you can get false positives, so it's not 100% useful. Still I think it is more useful than before, which was, nothing. A further issue is it depends on the ticket at GitHub using the formula's proper name. So we should ensure this as we can. Finally, it does add a possibly large delay to clean exit after a build error. We may want to fiddle with timeouts if it becomes troublesome.
2009-12-30If Xcode isn't installed, raiseMax Howell
We were raising but in a completely misleading and unintended fashion.
2009-12-22brew: add 'cat' commandAlexander Solovyov
2009-12-12Another git command.Adam Vandenberg
2009-12-12Some small style reformatsAdam Vandenberg
2009-12-12Unlink before uninstallingMax Howell
Nice bug there where we never removed any symlinks, because the unlink step requires the keg to be full of files to determine what symlinks to remove.
2009-12-07Brew update will git init if requiredMax Howell
This is necessary for those who installed Homebrew using the suggested tarball method. Too late for them though.
2009-12-05Prompt user to use pip for Hg and BzrMax Howell
2009-12-04Puts URL for failed build lineMax Howell
2009-12-02cd HOMEBREW_REPOSITORY before trying to git info itMax Howell
2009-12-02Show exit status properlyMax Howell
Turns out $?.to_i is a 16bit int with some bit flags in the first byte.
2009-12-02We don't need the whole backtrace for BuildErrorsMax Howell
2009-12-01We can't rely on the $: orderMax Howell
Some gems and libraries seem to change the order.
2009-12-01`brew --config` output improved if no GCCMax Howell
2009-11-19Add command 'brew info --all'.Adam Vandenberg
2009-11-19New command 'brew deps [formula]'Adam Vandenberg
Where brew info will show the next-level-down dependencies, brew deps will show all of the formulae that a given formula depends on.
2009-11-19Add alias support to formulaeAdam Vandenberg
* brew install will find an aliased formula * aliases are searched against * warn when creating a new formula that has an existing alias. If Subversion has an alias "svn", then warn when the user tries to create a new formula "svn". The formula can still be created, though the user should make sure it's not a duplicate of the existing aliased one. Subversion and Objective-Caml formulas get some alises here, so we have something to test against.
2009-11-19Add brew command 'uses'Adam Vandenberg
'uses' shows the formulas that depend on a formula given on the command-line.
2009-11-19Add extra message for unknown commands that are git commands.Adam Vandenberg
2009-11-19Also allow 'brew help'.Adam Vandenberg
2009-11-19Fix when 'edit' if/else indentationAdam Vandenberg
2009-11-19Move some helper functions into HardwareAdam Vandenberg
2009-11-12More tweaking of main exception handler outputMax Howell
2009-11-11Show kernel architecture in brew --config outputMax Howell
2009-11-11Re-raise SystemExit so the correct exit code is setMax Howell
The reason we rescue this exception at all is because otherwise our general purpose Exception handler catches it.
2009-11-11Be specific about 3.1 point release.Adam Vandenberg
2009-11-11dump_config for certain exceptionsMax Howell
Ideally we could do a get request and fill in the issue form at GitHub. Presumably though, we'd only do this if the user typed brew report or somesuch. Someone should get that implemented!
2009-11-11Include macports or fink info with brew --configMax Howell
2009-11-11Include HEAD SHA with brew --configMax Howell
2009-11-09My idea of tidy, sorry Adam…Max Howell
2009-11-09DRY gcc_build and llvm_buildMax Howell
2009-11-09Add OS X, Ruby, compiler & hardware info to --configAdam Vandenberg
2009-11-08Don't error out before Cellar is createdMax Howell
We need a test for this.