aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2010-10-30fix warnings: ambiguous first argJamie Macey
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30Allow installation from URLsAdam Vandenberg
This allows installation like: brew install http://example.com/something.rb Based on an original patch by [dwalters]. Fixes Homebrew/homebrew#160
2010-10-28Handle dashed tags at github.arlolra
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-17extract undent test to test caseMichael Morgan
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-17Use classes instead of strings for exceptionsAdam Vandenberg
2010-10-05Coerce ENV.append/prepend values to strings.Adam Vandenberg
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-29Move resolve_alias from ARGV to FormulaAdam Vandenberg
Also, call this function from a few places where the code was duplicated.
2010-09-12Pathname./ because it looks a lot better than +Max Howell
2010-09-08Document brew optionsAdam Vandenberg
2010-09-07ENV.rb - style tweakAdam Vandenberg
2010-09-06Add ENV.ldflags and use.Adam Vandenberg
2010-09-04Update help optionsDavid Höppner
2010-08-27Fixed recognition of versions like 'foobar-4.50-beta' in Pathname#versionlukas
Sphinx currently has a download name 'http://sphinxsearch.com/downloads/sphinx-1.10-beta.tar.gz', which homebrew currently can't correctly identify - with a small change to the regex for 'foobar-4.5.0-beta1' (make that trailing number optional) - it works like a charm. Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-15Move method back to Pathname.Adam Vandenberg
2010-08-11Tweak ARGV.usageAdam Vandenberg
2010-08-10ENV.rb - add ENV.cflagsAdam Vandenberg
2010-08-10ENV.rb - style cleanupsAdam Vandenberg
2010-08-09Remove redundent line and reword comments slightly.Adam Vandenberg
2010-08-08Changing the magic &:downcase back to regular block.Brent Fitzgerald
Fixes Homebrew/homebrew#2089 Signed-off-by: Adam Vandenberg <flangy@gmail.com> (This is needed for 10.5 support.)
2010-08-08Move Pathname.starts_with? into PathnameAdam Vandenberg
2010-08-07Resolve aliases in 'brew edit'.Adam Vandenberg
2010-08-07Put /usr/X11/bin in PATH when requesting X11.Adam Vandenberg
2010-08-07ARGV - rename method that conflicts with optparseAdam Vandenberg
optparse adds an "options" method to ARGV, and so does Homebrew. Rename this method (and remove optparse blocking script) so that Homebrew plays nicer with external Ruby software. This fixes the issue where "gem install thin" would break "brew server", for instance.
2010-08-07Resolve aliases in ARGV extension.Max Howell
* This allows most brew commands to automatically accept aliases.
2010-07-25Add Pathname.resolved_pathAdam Vandenberg
2010-07-16Add ARGV.build_head? and use it.Adam Vandenberg
This allows both "--HEAD" and "-H" to be used consistently, which was the intention in the first place.
2010-07-09Usage should mention manpage.Adam Vandenberg
2010-07-08Move method from ObserverPathnameExtension to extend/PathnameAdam Vandenberg
* This method is generally useful, even without the Observer extensions.
2010-07-06Add debian style names to version checker.Adam Vandenberg
2010-07-04Pathname - fix RC version detection.Adam Vandenberg
2010-07-04Update Pathname version checks.Adam Vandenberg
* allow capital 'RC' * allow 'stable' suffix
2010-06-18Fix LLVM compilation under OS X 10.6 where cflags was not being defined.Brett Cannon
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Unshare code between ENV.llvm and ENV.setup_build_environment
2010-06-17Refactor llvm compiler selection so formula can use itChris Hoffman
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-17Fix exception when installing with --use-llvmChris Hoffman
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-16Use same LLVM binary to check build # as we do to build with.Adam Vandenberg
Different llvm binaries were used to check build numbers and to compile with. Normalize this, and normalize the variable name used to hold the xcode location. (Calling it "prefix" is confusing, since there are already concepts in Homebrew called "prefx".)
2010-04-22Fix universal builds on 32-bit CPUs.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-17Bug fix: gcc_4_0_1 wasn't removing sse4 flags correctly.Adam Vandenberg
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-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-01Move license block to separate LICENSE file.Adam Vandenberg
2010-02-27Add outdated to `brew help`Max Howell
Also rearrange and alphabetise.
2010-02-27Pathname.subdirs and Pathname.cd{}Max Howell
2010-02-24We need to set CC and CXX for many formulaMax Howell
Fixes Homebrew/homebrew#807; Fixes Homebrew/homebrew#808
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-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.