From 7e229ceb2f0bd119f307751bf55106bfec592297 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 25 May 2016 11:06:48 +0100 Subject: [PATCH] [Tests] Combine echo lines into python cmd for tox docs --- tox.ini | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index de6d490bf..1fada8baa 100644 --- a/tox.ini +++ b/tox.ini @@ -186,11 +186,10 @@ whitelist_externals = [testenv:docs] sitepackages = {[docsbase]sitepackages} deps = {[docsbase]deps} -whitelist_externals = echo commands = - echo -e "sphinx-apidoc --force -o docs/source/modules/ deluge deluge/plugins"\ - "\n""sphinx-build -v -E -T -b html -d docs/build/doctrees docs/source docs/build/html" - python -c "import subprocess, sys; proc = subprocess.Popen(\ + python -c "print '> sphinx-apidoc --force -o docs/source/modules/ deluge deluge/plugins\n'\ + '> sphinx-build -v -E -T -b html -d docs/build/doctrees docs/source docs/build/html';\ + import subprocess, sys; proc = subprocess.Popen(\ 'python setup.py build_docs', shell=True, stderr=subprocess.PIPE);\ err = proc.communicate()[1]; print err; sys.exit(bool(err))"