aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2010-03-23More effective use of incremental MD5 to eliminate loading entire tarball ↵Jake Good
into memory Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-22Add md5 on 'brew create' if we can figure it out.Adam Vandenberg
2010-03-22brew create - warn if version cannot be determined from URL.Adam Vandenberg
2010-03-19Fix external perl checker.Adam Vandenberg
2010-03-17Bug fix: gcc_4_0_1 wasn't removing sse4 flags correctly.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-16Use tab/space when finding vars (and not newlines).Adam Vandenberg
2010-03-16Fix `change_make_var!` for empty variables.Martin Kühl
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-131.9 fix, String is not an Enumerable.Eero Saynatkari
* Removed use of String altogether since all use cases are Arrays currently. YAGNI. * #max_by would have been more elegant, but this way we can support 1.8.6. Signed-off-by: Max Howell <max@methylblue.com> I made the diff less gratuitous. Don't bloat diffs to meet personal coding style preferences :P Closes #896
2010-03-11Add a snapshot of ENV to BuildError and show some flags with the stack trace.Adam Vandenberg
2010-03-10Actually remove info pages in skip stepMax Howell
Lets stop removing docs and doc (though moving share/docs to share/doc would make sense) as I was being lame when I decided nobody ever needs local documentation. I still wouldn't use it (the INTRAWEBS is pretty good nowadays), but I admit, for some people, it's essential.
2010-03-08Change the return value of Pathname.install.Adam Vandenberg
The change to Pathname to support renaming changed the return value. This commit puts it back, so the associated unit test passes again.
2010-03-08Homebrew is now at version 0.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-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 outdated to `brew help`Max Howell
Also rearrange and alphabetise.
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 #807; Fixes #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-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 #743
2010-02-13Set correct LDFLAGS for universal binariesAleksandar Topuzović
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-13Fixes #571; brew update doesn't report "Already up-to-date"Max Howell
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-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-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 #488.
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.