Mike McQuaid
ee253e465b
Vendor all Homebrew's gems.
...
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
2017-05-07 13:52:57 +01:00
Mike McQuaid
bfcfdb4f01
man: strip </?var> from Markdown output.
2017-04-02 10:14:57 +01:00
Mike McQuaid
650c33e73b
man: generate Markdown man page.
...
The existing `brew.1.html` wasn't particularly pleasant to read and
given everything else in `docs/` is a Markdown file it makes sense to
generate a post-processed Markdown file that can in turn be used by
Jekyll to generate a nicely themed HTML file.
2017-03-22 21:38:41 +00:00
Alyssa Ross
4291476fa3
man: remove an unnecessary else
...
`odie` causes the process to exit immediately, so there's no need for the
`regenerate_man_pages` call to be conditional.
2017-01-23 21:16:49 +00:00
Josh Hagins
1d8e59b31f
dev-cmd/man: use SOURCE_PATH instead of HOMEBREW_LIBRARY
...
Don't Repeat Yourself.
2016-10-23 01:22:56 -04:00
Markus Reiter
c36f42ce95
Remove private_class_method
from commands.
2016-10-02 00:24:47 +02:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Mike McQuaid
099f69e612
man: note --fail-if-changed date behaviour change.
...
As requested in #1199 this updates the documentation accordingly for
that change.
2016-10-01 12:19:51 +01:00
Mike McQuaid
c4adc68016
man: set date when --fail-if-changed.
...
Set the manpage date to the existing one if we're checking for changes.
This avoids the only change being e.g. a new date.
2016-10-01 11:49:39 +01:00
Steven Peters
44d13ce256
dev-cmd/man: display diff --stat, add --exit-code
...
The --fail-if-changed option will cause `brew man`
to return a failing status code if the man files
have changed.
2016-09-29 18:21:49 -07:00
Markus Reiter
4a9ee8154a
Simplify brew man
authors.
2016-09-20 12:12:36 +02:00
Mike McQuaid
205773b885
man: use new manpages/docs locations.
2016-09-20 10:41:42 +01:00
Mike McQuaid
51ed08d733
man: read lead, former maintainers, creator.
2016-09-20 09:31:19 +01:00
Mike McQuaid
71fd2bb4b0
dev-cmd/man: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
71881fd7a6
Add DEVELOPER COMMANDS to manpage.
2016-09-08 20:46:51 +01:00
Mike McQuaid
86bfd36af2
Don't hide some (now) developer commands.
2016-09-08 20:46:37 +01:00
Mike McQuaid
af8605ea4b
Move developer-focused commands to dev-cmd.
2016-09-08 20:46:37 +01:00