| Age | Commit message (Collapse) | Author |
|
|
|
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>
|
|
More robust code than before, and replaces all usage of `xcode-select -print-path`.
|
|
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.
|
|
Yields after chmoding (if necessary), once block is complete restores permissions.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
* Don't link .DS_Store files
* Don't list .DS_Store files in `brew info`
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
This allows installation like:
brew install http://example.com/something.rb
Based on an original patch by [dwalters].
Fixes Homebrew/homebrew#160
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Also, call this function from a few places where the code was duplicated.
|
|
|
|
|
|
|
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
Fixes Homebrew/homebrew#2089
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
(This is needed for 10.5 support.)
|
|
|
|
|
|
|
|
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.
|
|
* This allows most brew commands to automatically accept aliases.
|
|
|
|
This allows both "--HEAD" and "-H" to be used consistently, which was the
intention in the first place.
|
|
|
|
* This method is generally useful, even without the Observer extensions.
|
|
|
|
|
|
* allow capital 'RC'
* allow 'stable' suffix
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Unshare code between ENV.llvm and ENV.setup_build_environment
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
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".)
|
|
|