parent
be3d33ea36
commit
9b36e83771
@ -91,8 +91,9 @@ module Homebrew
|
|||||||
line.slice(2..-1).
|
line.slice(2..-1).
|
||||||
sub(/^ \* /, "#{Tty.highlight}brew#{Tty.reset} ").
|
sub(/^ \* /, "#{Tty.highlight}brew#{Tty.reset} ").
|
||||||
gsub(/`(.*?)`/, "#{Tty.highlight}\\1#{Tty.reset}").
|
gsub(/`(.*?)`/, "#{Tty.highlight}\\1#{Tty.reset}").
|
||||||
gsub(/<(.*?)>/, "#{Tty.em}\\1#{Tty.reset}")
|
gsub(/<(.*?)>/, "#{Tty.em}\\1#{Tty.reset}").
|
||||||
end.join
|
gsub("@hide_from_man_page", "")
|
||||||
|
end.join.strip
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -51,7 +51,7 @@ module Homebrew
|
|||||||
map { |line| line.slice(2..-1) }.
|
map { |line| line.slice(2..-1) }.
|
||||||
join
|
join
|
||||||
}.
|
}.
|
||||||
reject { |s| s.strip.empty? }
|
reject { |s| s.strip.empty? || s.include?("@hide_from_man_page") }
|
||||||
|
|
||||||
variables[:maintainers] = (HOMEBREW_REPOSITORY/"README.md").
|
variables[:maintainers] = (HOMEBREW_REPOSITORY/"README.md").
|
||||||
read[/Homebrew's current maintainers are (.*)\./, 1].
|
read[/Homebrew's current maintainers are (.*)\./, 1].
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#: @hide_from_man_page
|
||||||
#: * `tests` [`-v`] [`--coverage`] [`--generic`] [`--no-compat`] [`--only=`<test_script/test_method>] [`--seed` <seed>] [`--trace`]:
|
#: * `tests` [`-v`] [`--coverage`] [`--generic`] [`--no-compat`] [`--only=`<test_script/test_method>] [`--seed` <seed>] [`--trace`]:
|
||||||
#: Run Homebrew's unit and integration tests.
|
#: Run Homebrew's unit and integration tests.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user