| Age | Commit message (Collapse) | Author |
|
|
|
* Renames --force to --overwrite, freeing up brew ln --force for #13349
* Changes --dry-run to preview linking by default, rather than
overwriting. An overwrite dry-run can be simulated via both
--dry-run --overwrite
* Adds some basic Keg tests
|
|
Closes #15321.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
Refs #15164.
|
|
Also fix typo in the superenv DEVELOPER_DIR set detection code.
|
|
We add the bins from all deps instead. Rationale: formula find and use eg. GNU-coreutils versions of things and then break. Only allow formula to use tools that they depend on and expect.
I want to go further and only add include paths etc. for dependencies, I have done some work on this, but I fear it may be impossible. If an include path is eg. /usr/local/lib/foo/include, is it possible to know if this path is bad? Not always AFAICT.
|
|
|
|
Because we mess with the return value from [] in superenv due to many formula assuming CFLAGS etc. would not be nil.
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Output JSON with the --json=v1 option. Output is in an array, and
supports one or more formulae (or all, with the --all option).
Why 'v1'? The format is unstable, presumably we'll deprecate it
someday. It should be solid by Homebrew 1.0.
Closes #13299.
|
|
It looks like there can be harmless stuff leftover in
/Developer/Library, even after Xcode uninstalls older versions. The
existence of the uninstall-developer-folder script should be a better
indicator.
Fixes #14970.
|
|
Rescuing false on the StandardCompilers map meant that the doctor
check assumed that the compilers were incorrect, not merely
unknown.
Instead, skip the check and return nil for unknown Xcode; nil
should be interpreted as "dunno", instead of "true" or "false",
and the doctor check no longer prints on nil.
|
|
Oops.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
/Developer/Library shouldn't exist if all the remnants of old
Xcode versions have been uninstalled, and tends to cause problems if
it's kept alongside modern Xcode.
"uninstall-developer-folder" should only remove /Developer/Library.
|
|
Sublime Text's subl tool supports lovely project views just the same
as TextMate. Since I use Sublime, I want good support from `brew
edit` too. :P
|
|
|
|
Rationale: everyone thinks it points to the currently installed prefix, not the prefix of the formula that is newest and maybe not installed.
The previous behavior was unintentional and evidence proves it is not intuitive either.
I anticipate no regressions. And hope I am right!
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Fixes #14840.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
The problem is not the raw URLs, but URLs that do not contain the commit
hash corresponding to a particular version of the gist.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Fixes #14752.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
Rather than build the whole output in a string, print each item as we
go. This gives the illusion of improved responsiveness by delaying the
expensive method calls until after the faster output.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add external tap to default search path, and recommend it for packaging
Apache Modules.
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
At your option: `brew --config -1`.
|
|
|
|
Fixes #14554.
We justify doing this because pre 10.8 X11 came with GL for all Homebrew-capable systems and as such is a default that we'd prefer not to have to address.
|
|
Checking the license text is probably the most future proofed method. Though for future reference other possible methods are listed in the below ticket.
Closes #14558.
|
|
|
|
|
|
eg. "ack".f
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
If you need to build software on OS X by hand, a brew shell is the way to do it.
Closes #14381.
|
|
This is safe, I tested various scenarios, including Homebrew installed in ~. The only files that are removed are unexpected files in Homebrew's already managed directories.
|