From bc54b182f8e0473416b4e1e6516bb94c6d89fe61 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 28 Apr 2017 22:59:49 +0300 Subject: [PATCH] Generated docs if hotdoc is installed. --- run_tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_tests.py b/run_tests.py index d0a67e8df..4ef0cd156 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. #