summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-02-05 18:45:45 -0500
committerAndrew Gallant <jamslam@gmail.com>2018-02-06 12:07:59 -0500
commit65539403288c984c5175a612c9519437742fc95c (patch)
tree056d146f6fc56cd229eb7266a9e46805644ad62a /.travis.yml
parentb50ae9a99c46acf40d1c47c2e0ef6947fefbc044 (diff)
doc: generate man page
This commit uses the recent refactoring for defining flags to automatically generate a man page. This finally allows us to define the documentation for each flag in a single place. The man page is generated on every build, if and only if `asciidoc` is installed. When generated, it is placed in Cargo's `OUT_DIR` directory, which is the same place that shell completions live.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index bf2b3f55..aaaa3dd1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,8 @@ addons:
- zsh
# Needed for testing decompression search.
- xz-utils
+ # For generating man page.
+ - asciidoc
matrix:
fast_finish: true
include: