aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2011-03-12Use + instead of /.Adam Vandenberg
2011-03-12Added --use-gcc flag.Stephen Allred
This allows you to use llvm as your default compiler and keep the cc symlink pointed at llvm, while allowing you to build forumla that requires the gcc. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-12MacOS.xcode_prefixMax Howell
More robust code than before, and replaces all usage of `xcode-select -print-path`.
2011-03-12`brew deps foo bar` now gives the dependency intersectionMax Howell
Rationale: this is more useful than the union, and you can still easily get the union by running the command twice and concatenating the result.
2011-03-12Pathname.ensure_writableMax Howell
Yields after chmoding (if necessary), once block is complete restores permissions.
2011-03-12Formula.resolve_alias to compatability.rbMax Howell
2011-03-12Some CleanupMax Howell
2011-03-12Move string extensionsAdam Vandenberg
2011-03-12Move some exceptionsAdam Vandenberg
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.
2011-01-22Add ENV.cppflags shortcutAdam Vandenberg
2010-11-21Correct the principle usage of principal principles ;)Lee Packham
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-11-07Allow underscore in github version numbers.Adam Vandenberg
2010-11-05More .DS_Store ignoringMichael Dippery
* Don't link .DS_Store files * Don't list .DS_Store files in `brew info` Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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