diff --git a/build/_k-xml-docs-test.shade b/build/_k-xml-docs-test.shade new file mode 100644 index 0000000000..c703942c8f --- /dev/null +++ b/build/_k-xml-docs-test.shade @@ -0,0 +1,48 @@ + +use namespace="System" +use namespace="System.Collections.Generic" +use namespace="System.IO" +use import="Files" + +default BASE_DIR='${Directory.GetCurrentDirectory()}' + +@{ + var srcDir = Path.Combine(BASE_DIR, "src"); + foreach (var xmlFilePath in Files.Include(Path.Combine(srcDir, "**/*.xml"))) + { + var errors = 0; + var xmlLines = File.ReadAllLines(xmlFilePath); + for (var linesIndex = 0; linesIndex < xmlLines.Length; ++linesIndex) + { + var xmlLine = xmlLines[linesIndex].Trim(); + if (xmlLine.StartsWith("