aboutsummaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)Author
2010-04-14Add PATH to --config and ENV dump.Adam Vandenberg
A user's PATH can help diagnose ./configure and other problems in bug reports.
2010-04-06Move brew doctor to its own source file; will get bigger.Adam Vandenberg
2010-04-06`brew doctor`Max Howell
2010-04-03Update dump_build_envAdam Vandenberg
* Reorder a flag * Don't show values if they are empty
2010-04-01Add PKG_CONFIG_PATH to env dump, since brew modifies it.Adam Vandenberg
2010-03-17Add --use-llvm flag to build environment output.Adam Vandenberg
2010-03-16Move recommended compiler versions into constants.Adam Vandenberg
2010-03-16Add GCC 4.0 info to --config output.Robert Shaw
* Adds GCC 4.0 version info to --config output. * Splits gcc_build into gcc_40_build and gcc_42_build. * Adds alias gcc_build to gcc_42_build for compatibility. * Updates Xcode checking to also check GCC 4.0 version. These changes are a combination of work by AdamV and my work on my Tiger branch. This information would be useful for all installs since some formulae compile with GCC 4.0. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-14Add HOMEBREW_USE_LLVM to ENV vars shown for build errors.Adam Vandenberg
2010-03-11Add a snapshot of ENV to BuildError and show some flags with the stack trace.Adam Vandenberg
2010-03-10Plain `brew log` shows the entire Homebrew git logMax Howell
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 #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 #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 #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