aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-04-28 22:59:49 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-04-28 22:59:49 +0300
commitbc54b182f8e0473416b4e1e6516bb94c6d89fe61 (patch)
treeee648313c9110fc10ba711e782df271be038a49a
parent6944d06116bf3ed691faf991dbfa0478c8c2d345 (diff)
downloadmeson-docbuild.zip
meson-docbuild.tar.gz
meson-docbuild.tar.bz2
Generated docs if hotdoc is installed.docbuild
-rwxr-xr-xrun_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py
index d0a67e8..4ef0cd1 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -127,6 +127,8 @@ if __name__ == '__main__':
# Running on a developer machine? Be nice!
if not mesonlib.is_windows() and 'TRAVIS' not in os.environ:
os.nice(20)
+ if shutil.which('hotdoc'):
+ returncode += subprocess.call(['hotdoc', 'run', '--disable-incremental'], cwd='docs')
# Appveyor sets the `platform` environment variable which completely messes
# up building with the vs2010 and vs2015 backends.
#