aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2012-11-11Use a class for FORMULA_META_FILESAdam Vandenberg
* lets more text types get picked up * better filter for `brew list`
2012-11-10Exclude the cache from `brew list --unbrewed`Adam Vandenberg
If you have relocated your HOMEBREW_CACHE under HOMEBREW_PREFIX, then don't show these files as "unbrewed".
2012-11-06Fix curlrc existence checkJack Nagel
Enumerable#one? is not available under Ruby 1.8.6. Further, we really want #any? here, as setting both HOME and CURL_HOME can trigger a false negative. Fixes Homebrew/homebrew#15883.
2012-11-06Hoist top-level directory list into a constantJack Nagel
2012-11-03doctor: Remove fuse.pc from the whitelistCharlie Sharpsteen
Having a third-party `fuse.pc` file will conflict with the `fuse4x` formula.
2012-11-01Error out on lowercase --head parameter to install.Adam Vandenberg
Fixes Homebrew/homebrew#14815.
2012-10-28brew-update: Guard non-directory files in TapsCharlie Sharpsteen
Skip any entries returned by `Dir["Library/Taps/*"].each` that are not directories.
2012-10-28Specify where to get the CLT packageMax Howell
2012-10-28Homebrew should not ignore curlrcStephen Nelson
Added doctor check for .curlrc rather than silently ignoring it (#13836). Closes Homebrew/homebrew#15419. Signed-off-by: Max Howell <mxcl@me.com> Removed test in doctor where it actually curl'd a file. It's enough to warn if the curlrc exists. I understand people want to remove the warnings, but the point in the doctor is to help diagnose and not to be some ramification of your UNIX system.
2012-10-24doctor: check that Xcode prefix actually existsAdam Vandenberg
Closes Homebrew/homebrew#14373.
2012-10-22Add relinking instructions.Adam Vandenberg
Closes Homebrew/homebrew#15488.
2012-10-21audit: loosen ARGV checkAdam Vandenberg
2012-10-20brew ln --force is now brew ln --overwriteMisty De Meo
* Renames --force to --overwrite, freeing up brew ln --force for Homebrew/homebrew#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
2012-10-05pluralize the word 'Formula' in reportsChristian Schlensker
Closes Homebrew/homebrew#15321. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-03doctor: fix iconv dylib nameAdam Vandenberg
2012-09-28Safer way to redirect puts to a fileMax Howell
2012-09-28Only handle build-errors when it's a build-errorMax Howell
Refs Homebrew/homebrew#15164.
2012-09-24Fix doctor hanging if xcode-select is badMax Howell
Also fix typo in the superenv DEVELOPER_DIR set detection code.
2012-09-23superenv: Remove HOMEBREW_PREFIX/bin from PATHMax Howell
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.
2012-09-22brew cleanup -n: less scaryMax Howell
2012-09-21brew --env: Use fetch rather than []Max Howell
Because we mess with the return value from [] in superenv due to many formula assuming CFLAGS etc. would not be nil.
2012-09-20cleanup: look for "HEAD", not "sha" in receiptJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-18Provide more information about bad sf urlsMax Howell
2012-09-17info: Add JSON outputMisty De Meo
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 Homebrew/homebrew#13299.
2012-09-16Make check for stray developer dir more specificMisty De Meo
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 Homebrew/homebrew#14970.
2012-09-14Skip standard compilers check for unknown XcodeMisty De Meo
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.
2012-09-14Restore X11 description to --config outputJack Nagel
Oops. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-13--prefix: don't use opt prefix if it doesn't existMisty De Meo
2012-09-13doctor: Add check for stray pre-4.3 Xcode filesMisty De Meo
/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.
2012-09-13edit: create project view with subl, tooMisty De Meo
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
2012-09-13Add skip_clean :all to auditAdam Vandenberg
2012-09-12Use opt prefix for --prefixMax Howell
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!
2012-09-11Remove dead codeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11test: be less eager to set up the build environmentJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11cleanup: skip rm_DS_Store during a dry runJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11cleanup: allow --force to remove keg-only brews againJack Nagel
Fixes Homebrew/homebrew#14840. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10Audit check for old MacOS version methodsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-06audit: allow some forms of gist patchesJack Nagel
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>
2012-09-06doctor: ignore case when checking PATH for config scriptsJack Nagel
Fixes Homebrew/homebrew#14752. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-05Remove fink/macports from verbose --config if they are not present.Adam Vandenberg
2012-09-05audit: swig is a build time depAdam Vandenberg
2012-09-05Improve `brew --config` responsivenessJack Nagel
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>
2012-09-04Audit check for MACOS_VERSIONJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-04Exempt automake from some auditsAdam Vandenberg
2012-09-03add audit for ENV.x11Adam Vandenberg
2012-09-03Undent doesn't like paragraphingMax Howell
2012-09-03brew-audit: recommend SHA1 over MD5.Mike McQuaid
2012-09-03brew-fetch: Return error code on unmatched hash.Mike McQuaid
2012-09-01Fix the name because adamv doesn't know what he's doing.Adam Vandenberg
2012-09-01bless alanthing/homebrew-apachemodAdam Vandenberg
Add external tap to default search path, and recommend it for packaging Apache Modules.