man: auto detect maintainers list
This commit is contained in:
parent
7727c7764c
commit
79345592a9
@ -53,6 +53,10 @@ module Homebrew
|
||||
}.
|
||||
reject { |s| s.strip.empty? }
|
||||
|
||||
variables[:maintainers] = (HOMEBREW_REPOSITORY/"README.md").
|
||||
read[/Homebrew's current maintainers are (.*)\./, 1].
|
||||
scan(/\[([^\]]*)\]/).flatten
|
||||
|
||||
ERB.new(template, nil, ">").result(variables.instance_eval{ binding })
|
||||
end
|
||||
|
||||
|
||||
@ -235,7 +235,7 @@ Homebrew Documentation: <https://github.com/Homebrew/brew/blob/master/share/doc/
|
||||
|
||||
## AUTHORS
|
||||
|
||||
Homebrew's current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Mike McQuaid, Baptiste Fontaine, Brett Koonce, Martin Afanasjew, Dominyk Tiller, Tim Smith and Alex Dunn.
|
||||
Homebrew's current maintainers are <%= maintainers[0...-1].join(", ") %> and <%= maintainers[-1] %>.
|
||||
|
||||
Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg and Homebrew's creator: Max Howell.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user