summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-01-24 21:12:31 +0000
committerChandan Singh <chandan@chandansingh.net>2019-01-25 23:50:49 +0000
commit89ba2abe538bfc5fd9fca77a71e5fb6e02f7039c (patch)
treedb21131a9b533a40b6502a8c62ad8699a52492f5
parent27ca6cc7224c82cb1cec99d147e42e4c121d93f7 (diff)
downloadbuildstream-89ba2abe538bfc5fd9fca77a71e5fb6e02f7039c.tar.gz
tox.ini: Add environment to update man pages
Previously, one had to manually install `click-man` package, and remember to run the correct command. Now, we can simply run `tox -e man` to update the man pages.
-rw-r--r--tox.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 0925fa5cb..e42abd63c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -80,3 +80,13 @@ passenv =
LC_ALL
whitelist_externals =
make
+
+#
+# (re-)Generating man pages
+#
+[testenv:man]
+commands =
+ python3 setup.py --command-packages=click_man.commands man_pages
+deps =
+ click-man
+ -rrequirements/requirements.txt