diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2016-05-25 11:06:48 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2016-05-25 11:06:48 +0100 |
commit | 7e229ceb2f0bd119f307751bf55106bfec592297 (patch) | |
tree | d73f8041bf5681e06b66b9925e30142498625df1 /tox.ini | |
parent | 2a8388d26270ea58030206e6163b827c9700ec3f (diff) | |
download | deluge-7e229ceb2f0bd119f307751bf55106bfec592297.tar.gz deluge-7e229ceb2f0bd119f307751bf55106bfec592297.tar.bz2 deluge-7e229ceb2f0bd119f307751bf55106bfec592297.zip |
[Tests] Combine echo lines into python cmd for tox docs
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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))" |