From 19d9c944202b415563fbf09f73cdbaa127d79879 Mon Sep 17 00:00:00 2001 From: Pranav Salunke Date: Fri, 24 Oct 2014 15:51:33 +0200 Subject: [PATCH] Generating tar file for labs section Generates tar files for labs section for those who want to run the lab scripts without having to install git and cloning the entire repository. Change-Id: I48056f3195b43dec0e15152ee1777b936e29a24d --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index f5e7aae1..f4f19daf 100644 --- a/tox.ini +++ b/tox.ini @@ -33,18 +33,21 @@ commands = commands = openstack-doc-test --check-deletions {posargs} [testenv:checkbuild] -commands = openstack-doc-test --check-build {posargs} +commands = + openstack-doc-test --check-build {posargs} + bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs" [testenv:publishdocs] # Prepare all documents (except www subdir) so that they can get # published on docs.openstack.org with just copying publish-docs/* # over. -commands = +commands = # Create directory, it might not be here if openstack-doc-test does # not publish anything. mkdir publish-docs # We only publish changed manuals. openstack-doc-test --check-build --publish + bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs" [testenv:checklang] # Generatedocbook needs xml2po which cannot be installed