aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
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 #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 #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 #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 #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 #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 #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 #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.
2012-09-01`brew list -v` means verbose, not versionsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-31`brew -c1` one line configuration summaryMax Howell
At your option: `brew --config -1`.
2012-08-31Set VERBOSE and HOMEBREW_LOG in `brew sh`Max Howell
2012-08-31Cram GL headers and includes into superenvMax Howell
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.
2012-08-31Doctor check for unlicensed XcodeMax Howell
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.
2012-08-31`brew --env` puts HOMEBREW_SDKROOTMax Howell
2012-08-31More brew irb examplesMax Howell
2012-08-30String.f convenience function for brew irbMax Howell
eg. "ack".f
2012-08-30Simplify `brew outdated` even furtherJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29`brew sh`: a shell with superenv loadedMax Howell
If you need to build software on OS X by hand, a brew shell is the way to do it. Closes #14381.
2012-08-29Doctor suggest `git clean -f` if unstaged filesMax Howell
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.