Include comment

This commit is contained in:
bskjon committed 2026-10-12 02:42:13 +02:00
1 parent 9a288d7728
commit 82672e97bf
1 file changed
+7 -1
+7 -1
View File
@@ -36,7 +36,13 @@ object TsGenerator {
appendLine("// AUTO-GENERATED. DO NOT EDIT.") appendLine("// AUTO-GENERATED. DO NOT EDIT.")
appendLine("// TSGenerator Version: $versionInfo") appendLine("// TSGenerator Version: $versionInfo")
appendLine("// Time: $buildTime") appendLine("// Time: $buildTime")
appendLine("// Source: $packageName${if (includeClasses.isEmpty()) "" else "; extra classes: ${includeClasses.joinToString()}"}") appendLine("// package: $packageName")
appendLine("// includeClasses:")
includeClasses
.map { it.substringBeforeLast('.', "") }
.filter { it.isNotBlank() }
.distinct()
.forEach { appendLine("//\t$it") }
appendLine() appendLine()
classes.forEach { cls -> classes.forEach { cls ->