16 Commits

Author SHA1 Message Date
Mike McQuaid
c2e0fb0c08 config: be quieter with java_home.
References Homebrew/homebrew#36249.
2015-01-27 12:25:27 +00:00
Xu Cheng
8fc3c4c8e9 brew-config: check whether java exists in PATH
For OS X, we will call `/usr/libexec/java_home` to exam whehter
java is installed.

Also rename the method to follow the same naming pattern of other
similar methods.

Closes Homebrew/homebrew#36187.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-25 10:05:56 +00:00
Baptiste Fontaine
aec2f01a55 config: add Java to output.
Closes Homebrew/homebrew#35596.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-22 17:16:36 +01:00
Xu Cheng
6d786e7dbb brew-config: show realpath for pyenv and rbenv
Closes Homebrew/homebrew#35819.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-17 18:48:34 +01:00
Jack Nagel
8ebaa9c0a9 Handle newer ruby versions correctly in config output
Since Ruby 2.1, patch releases take the form "2.x.y" rather than
"2.x.y-pnum".
2014-12-31 09:54:44 -05:00
Jack Nagel
77c0f60434 Always dump full configuration 2014-12-30 23:33:50 -05:00
Xu Cheng
b10c58d6e2 brew-config: always show XCode/CLT state
Closes Homebrew/homebrew#33860.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-30 23:18:05 -05:00
Tim D. Smith
facb82e4bc Shows time since last commit in brew config
Closes Homebrew/homebrew#32936.
2014-10-05 16:17:57 -07:00
Jack Nagel
c18eea6a17 Default to stdout since other code calls this method 2014-07-19 23:28:56 -05:00
Jack Nagel
74ad97ce7f Remove intermediate method 2014-07-19 22:55:49 -05:00
Jack Nagel
010bd2783e Allow verbose config to be written to any IO object 2014-07-19 22:33:59 -05:00
Jack Nagel
c0579443f2 Don't mess with stdout when writing build config to a file 2014-07-19 22:33:00 -05:00
Jack Nagel
4c05d411f3 Add a method for getting the repo HEAD 2014-06-30 19:18:28 -05:00
Jack Nagel
10a1952d2c Only "extend self" once on the Homebrew module 2014-06-19 13:10:36 -05:00
Jack Nagel
cad5704fc7 Update build error config dump for Ruby 2.0 2014-06-07 15:57:17 -05:00
Adam Vandenberg
d4b0599a86 --config -> config 2014-04-30 19:09:29 -07:00