aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake/fileapi.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-11-19 12:36:05 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-11-19 15:21:13 +0100
commit9435f11b17ac428c80ac8af80724aced6c02133a (patch)
tree2adaa02d0b287834b5d7666560a23572cc4c4743 /mesonbuild/cmake/fileapi.py
parentb4af3328a4213d92edca4fa74b04d1bd5800962b (diff)
downloadmeson-9435f11b17ac428c80ac8af80724aced6c02133a.zip
meson-9435f11b17ac428c80ac8af80724aced6c02133a.tar.gz
meson-9435f11b17ac428c80ac8af80724aced6c02133a.tar.bz2
ci: Add CI command to include text files in the CI log
Diffstat (limited to 'mesonbuild/cmake/fileapi.py')
-rw-r--r--mesonbuild/cmake/fileapi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/cmake/fileapi.py b/mesonbuild/cmake/fileapi.py
index e33a0af..c62eadb 100644
--- a/mesonbuild/cmake/fileapi.py
+++ b/mesonbuild/cmake/fileapi.py
@@ -14,6 +14,7 @@
from .common import CMakeException, CMakeBuildFile, CMakeConfiguration
from typing import Any, List, Tuple
+from .. import mlog
import os
import json
import re
@@ -76,6 +77,7 @@ class CMakeFileAPI:
debug_json = os.path.normpath(os.path.join(self.build_dir, '..', 'fileAPI.json'))
with open(debug_json, 'w') as fp:
json.dump(index, fp, indent=2)
+ mlog.cmd_ci_include(debug_json)
# parse the JSON
for i in index['objects']: