469 Commits

Author SHA1 Message Date
Adam Vandenberg
d44a0561ea brew doctor: check for stray .la files 2011-05-12 08:10:47 -07:00
Adam Vandenberg
8fea11e764 brew doctor: warn about Mono and CMake 2011-05-12 07:24:10 -07:00
Adam Vandenberg
f4cd85aa49 brew doctor: add check for stray .pc files 2011-05-09 17:23:35 -07:00
Adam Vandenberg
f253cf3b10 brew doctor: check for stray static libs too
CMake will pick up static libs in /usr/local.
2011-05-05 09:40:03 -07:00
Adam Vandenberg
d7b50a5820 brew doctor: hard-code full path to mount command 2011-04-29 09:15:39 -07:00
Adam Vandenberg
66110c78e7 brew doctor: add check for GREP_OPTIONS 2011-04-04 09:21:44 -07:00
Adam Vandenberg
29ac3efe2e brew doctor: update expat check
Apaprently both expat.framework and libexpat.framework exist
and interfere with CMake.
2011-04-04 08:48:42 -07:00
Adam Vandenberg
2decef8c36 Fix CLICOLOR_FORCE check 2011-04-01 13:42:12 -07:00
Adam Vandenberg
4a4186c583 brew doctor - only check unique path folders 2011-03-29 12:45:54 -07:00
Adam Vandenberg
8c7ac47c85 brew doctor - add check for CLICOLOR_FORCE 2011-03-28 11:57:57 -07:00
Adam Vandenberg
9f8432bfcf brew doctor - reword stray dylib message 2011-03-28 11:51:59 -07:00
Adam Vandenberg
3fcacb041d brew doctor - also check permisisons on share 2011-03-28 11:48:45 -07:00
Mike McQuaid
80f98a1a19 Don't make brew doctor complain about Xcode 4. 2011-03-14 21:00:51 +00:00
Mike McQuaid
87529a8cdd X11 is part of OSX, not Xcode. 2011-03-14 21:00:51 +00:00
Markus Prinz
afa5d95bb4 Have brew-doctor refer to the correct LLVM/GCC env variables
The HOMEBREW_(LLVM|GCC) variables mentioned in brew-doctor's
`check_cc_symlink` method are actually named HOMEBREW_USE_(LLVM|GCC)

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-12 11:55:08 -08:00
Adam Vandenberg
9ede899d5d Add expat.framework check to doctor 2011-03-12 11:55:07 -08:00
Stephen Allred
618617da73 Added --use-gcc flag.
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-12 11:55:06 -08:00
Max Howell
c1a3b724fd Some Cleanup 2011-03-12 11:55:03 -08:00
Max Howell
768910283a Refactor the brew command into one file per command
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-03-12 11:55:02 -08:00