aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2010-04-06Move port/fink check.Adam Vandenberg
2010-04-06Move X11 check.Adam Vandenberg
2010-04-06Move dylib check.Adam Vandenberg
2010-04-06Move brew doctor to its own source file; will get bigger.Adam Vandenberg
2010-04-06`brew doctor`Max Howell
2010-04-06Force readme files to not be executable.Adam Vandenberg
2010-04-04Don't link_dir if the target doesn't exist.Adam Vandenberg
Fixes Homebrew/homebrew#1115 for Ruby 1.9, thanks to assaf.
2010-04-04Add test script to extract version from URL/path.Adam Vandenberg
2010-04-03Add s.get_make_varAdam Vandenberg
This allows more complicated transformations to happen, such as stripping out part of the variable.
2010-04-03Allow archs_for_command to take Pathnames. Fixes Homebrew/homebrew#1106.Adam Vandenberg
2010-03-31Add support for rar archives.Adam Vandenberg
2010-03-30More hashing refactoring to work with byte chunksJake Good
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-27fix github version parser with multidigit numberJoshua Peek
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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 Homebrew/homebrew#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.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-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 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-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-09remove_make_var! should not leave an empty assignmentAdam Vandenberg