tox.ini: create and publish Windows batch files

Generate Windows batch files using osbash.sh and create a zip archive
of the labs directory (for Windows users).

Change-Id: I98005cb390f80ec1681914be041084dfa737ffa5
This commit is contained in:
Roger Luethi 2014-10-28 09:34:00 +01:00
parent cd36b1ea50
commit 7ba7f44137

View File

@ -37,6 +37,8 @@ commands =
mkdir -p publish-docs/training-guides
openstack-doc-test --check-build {posargs}
bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs"
bash -c "labs/osbash.sh -w cluster"
bash -c "zip -r publish-docs/training-guides/labs-scripts.zip labs"
[testenv:publishdocs]
# Prepare all documents (except www subdir) so that they can get
@ -49,6 +51,8 @@ commands =
# We only publish changed manuals.
openstack-doc-test --check-build --publish
bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs"
bash -c "labs/osbash.sh -w cluster"
bash -c "zip -r publish-docs/training-guides/labs-scripts.zip labs"
[testenv:checklang]
# Generatedocbook needs xml2po which cannot be installed