summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/opentelemetry-cpp/ci/docfx.cmd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/jaegertracing/opentelemetry-cpp/ci/docfx.cmd
parentInitial commit. (diff)
downloadceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz
ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/jaegertracing/opentelemetry-cpp/ci/docfx.cmd')
-rw-r--r--src/jaegertracing/opentelemetry-cpp/ci/docfx.cmd18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/jaegertracing/opentelemetry-cpp/ci/docfx.cmd b/src/jaegertracing/opentelemetry-cpp/ci/docfx.cmd
new file mode 100644
index 000000000..46582ac98
--- /dev/null
+++ b/src/jaegertracing/opentelemetry-cpp/ci/docfx.cmd
@@ -0,0 +1,18 @@
+SETLOCAL ENABLEEXTENSIONS
+
+type ci\docfx.json > docfx.json
+type ci\toc.yml > toc.yml
+docfx build docfx.json > docfx.log
+DEL docfx.json 2> NUL
+DEL toc.yml 2> NUL
+@IF NOT %ERRORLEVEL% == 0 (
+ type docfx.log
+ ECHO Error: docfx build failed. 1>&2
+ EXIT /B %ERRORLEVEL%
+)
+@type docfx.log
+@type docfx.log | findstr /C:"Build succeeded."
+@IF NOT %ERRORLEVEL% == 0 (
+ ECHO Error: you have introduced build warnings. 1>&2
+ EXIT /B %ERRORLEVEL%
+)