aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2010-03-08Homebrew is now at version 0.60.6Adam Vandenberg
We've bumped the version number, as Homebrew no longer tries to use LLVM by default (on Snow Leopard.)
2010-03-08Error out if `brew diy` doesn't know the build systemMax Howell
2010-03-07Fixes Pathname.install(:foo => :bar) to work when File.exist?(:bar)Max Howell
2010-03-07Allow Pathname.install to take a Hash.Adam Vandenberg
The keys of the hash are original file names, the values are new file names. Originals are renamed, and then installed under the new name.
2010-03-07String.undent for prettier HEREDOCsMax Howell
2010-03-06Documentation rewriteMax Howell
Much leaner README now. The website evangelises, and the Wiki is thorough.
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-03-01REVERT SubversionDownloadStrategy change.Adam Vandenberg
Change 45ce0c963a52293063432674d5c360ebe65254e2 was done in error. This submit reverts that change (which will go in a future commit.) I apologize for the inconvenience.
2010-03-01Move license block to separate LICENSE file.Adam Vandenberg
2010-03-01Improvements to new SubversionDownloadStrategyFergal Hainey
Now makes use of `svn up` to make cache act like a cache. Externals without a revision specified are now checked out at HEAD, whereas before they were ignored. Escaping arguments to backticks. Making sure main repo is checked out before the externals.
2010-02-27Add 'rebase' to accidental git commands.Adam Vandenberg
2010-02-27Update bash completionsAdam Vandenberg
* Bring command list up-to-date * Subcommand completion now ignores switches
2010-02-27`brew outdated` works if there is eg. Cellar/.DS_StoreMax Howell
2010-02-27Add outdated to `brew help`Max Howell
Also rearrange and alphabetise.
2010-02-27brew outdatedMax Howell
brew install `brew outdated` will work Apologies that this is long overdue. Fixes Homebrew/homebrew#838
2010-02-27Pathname.subdirs and Pathname.cd{}Max Howell
2010-02-25Add support for external ruby deps, and fix external deps system.Andre Arko
Kernel#system special-cases the first argument, so you have to make the first argument the entire command to be invoked, and subsequent arguments the actual arguments to that command. In order to use the user's interpreter, the first argument must be "/usr/bin/env <name>". Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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-24We need to set CC and CXX for many formulaMax Howell
Fixes Homebrew/homebrew#807; Fixes Homebrew/homebrew#808
2010-02-20Fix `brew cleanup`: don't bail out earlyMartin Kuehl
Running `brew cleanup` (with no arguments or multiple arguments) raises an error and stops as soon as it finds any formula whose most recent version is not installed. With this change it will instead print a warning, then continue with the next formula. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-20Fix inreplace barfing over PathnamesMax Howell
This fix should be fairly tolerant of types.
2010-02-19No longer compile with LLVM by defaultMax Howell
Justification: * LLVM is too immature, it often fails to compile, sometimes irreproducibly * The performance of the resulting bytecode is often slower than the GCC equivalent (eg MySQL) If you want to continue using LLVM you can. Set HOMEBREW_USE_LLVM or brew with --use-llvm. We also now use the default compiler for each platform. So GCC 4.2 on Snow and GCC 4.0 on Leopard. This also means that new formula are more likely to just work as many over complicated build systems get upset when you mix things up. I also did a bunch more new research regarding compiler flags. We now set the right -march for nehalem procs and don't add redundant flags like msse3 (which is automatically applied for all the -march settings we use). Reducing the number of cflags will improve the overall reliability of our platform.
2010-02-19Allow inreplace to operate over arraysMax Howell
I like that String.each is interchangeable with Array.each :)
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-18Fix Pathname.install for relative symlinksMax Howell
If you have a bunch of symlinks and they all point at one file and you use Pathname.install on them all the error checking would fail if the file was moved before the symlinks because the symlinks would then point at a non existent file.
2010-02-18Fix GitHub tarball version detectionMax Howell
2010-02-16Don't merge flags in checkout-indexGraham Hughes
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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-13Set correct LDFLAGS for universal binariesAleksandar Topuzović
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-13Fixes Homebrew/homebrew#571; brew update doesn't report "Already up-to-date"Max Howell
2010-02-11Don't abort cleanup if formulae are missingAndre Arko
2010-02-09remove_make_var! should not leave an empty assignmentAdam Vandenberg
2010-02-08ENV.cxx was not retrieving proper ENV flag.Adam Vandenberg
2010-02-07Merge branch 'F-zsync' of git://arthur.barton.de/homebrew-alexAdam Vandenberg
2010-02-04Add formula check for crufy SourceForge URLs.Adam Vandenberg
2010-02-02Update test suite.Adam Vandenberg
* Break single test case class into several test cases. * Fix broken arch test. * Make update tests optional (seem to only work for mxcl). * Add more tests. * Move fixtures to separate folder.
2010-02-02Let change_make_var! append to existing value.Adam Vandenberg
To existing flag value can be specified with "\\1". To append values to a flag, call with: s.change_make_var! "THE_FLAG", "\\1 more-flag-values" The same trick can be used to prepend or surround values as well.
2010-02-02Bazaar download strategyDavid Höppner
2010-02-01Create Download Strategy sooner in formula install code.Adam Vandenberg
* Instantiate DownloadStrategy instance when creating a formula. * Rename CurlDownloadStrategy member to clarify what it is for. * Generate downloaded tarball name in initialize.
2010-01-30deps was missing from bash completionAdam Vandenberg
2010-01-30Remove spaces around make-style variables.Adam Vandenberg
Removing the spaces around equals for make-style variables makes the change_make_var! method compatible with shell scripts as well as makefiles.
2010-01-30Add gzip utility function.Adam Vandenberg
2010-01-29remove the nonexistant list --brewed flag from the help output.Ben Bleything
Resolves mxcl/homebrew#158. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-01-18If keg only don't warn about s?bin not being in PATHMax Howell
Fixes Homebrew/homebrew#488.
2010-01-18Only try to cleanup directoriesMax Howell
2010-01-18Document brew cleanupMax Howell
2010-01-18prune after brew cleanupMax Howell
Stale symlinks may exist, so we may as well fix them up at this juncture.
2010-01-18Don't cleanup if we can't tell which formula is for keepsMax Howell
If the formula was updated and not yet installed, then cleanup would delete all kegs. Which is most likely not what the user wanted. Ideally we'd do a version check to figure out which keg is newest. But we don't yet have a function that can determine with accuracy version order.
2010-01-18Use Ruby rather than external commandsMax Howell
`ls` could go wrong more than Pathname.children