Martin Afanasjew
b0b5d22af1
man: modernize and reduce code duplication
...
Also use `popen_read` instead of `safe_system` for cleaner argument
passing and write the output with `atomic_write`.
Closes Homebrew/homebrew#46826 .
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2015-12-13 22:18:27 +01:00
Martin Afanasjew
4a89cfb1dc
man: remove broken --verbose functionality
2015-12-13 22:18:26 +01:00
Mike McQuaid
2c959a7d58
More API documentation.
...
And remove the documented stuff from the `example-formula.rb`.
Closes Homebrew/homebrew#43241 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-29 15:43:16 +01:00
BrewTestBot
13d544e11e
Core files style updates.
...
Closes Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Baptiste Fontaine
bd42901fa7
'brew man': abort if a formula is given
...
Closes Homebrew/homebrew#40735 .
Closes Homebrew/homebrew#40736 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-18 20:06:11 +02:00
Mike McQuaid
9e8103cf38
Add Homebrew.install_gem_setup_path! function.
...
This uses the logic from tests.rb in man.rb too so that this can be
shared in a few places.
2015-01-02 12:42:02 +00:00
Jack Nagel
1c71fb4287
Drop executable bits from imported commands
...
Closes Homebrew/homebrew#32743 .
2014-09-27 23:57:03 -05:00
Mike McQuaid
dfce2bb7c7
brew-man: Rubify, make an internal command.
...
Closes Homebrew/homebrew#32472 .
2014-09-24 15:23:33 -07:00