[Commonizer] Logging: 'Preparing commonized Kotlin/Native libraries': show outputTarget instead of flat list of targets
^KT-36679
This commit is contained in:
committed by
TeamCityServer
parent
0d9e32f963
commit
9d9e11d6d8
@@ -111,9 +111,8 @@ internal class NativeDistributionCommonize(options: Collection<Option<*>>) : Tas
|
|||||||
this add LoggingResultsConsumer(outputTarget, progressLogger)
|
this add LoggingResultsConsumer(outputTarget, progressLogger)
|
||||||
}
|
}
|
||||||
|
|
||||||
val targetNames = outputTarget.allLeaves().joinToString { it.prettyName }
|
|
||||||
val descriptionSuffix = estimateLibrariesCount(repository, outputTarget.allLeaves()).let { " ($it items)" }
|
val descriptionSuffix = estimateLibrariesCount(repository, outputTarget.allLeaves()).let { " ($it items)" }
|
||||||
val description = "${logPrefix}Preparing commonized Kotlin/Native libraries for targets $targetNames$descriptionSuffix"
|
val description = "${logPrefix}Preparing commonized Kotlin/Native libraries for $outputTarget$descriptionSuffix"
|
||||||
println(description)
|
println(description)
|
||||||
|
|
||||||
LibraryCommonizer(
|
LibraryCommonizer(
|
||||||
@@ -126,8 +125,6 @@ internal class NativeDistributionCommonize(options: Collection<Option<*>>) : Tas
|
|||||||
).run()
|
).run()
|
||||||
|
|
||||||
statsCollector?.writeTo(FileStatsOutput(destination, statsType.name.lowercase()))
|
statsCollector?.writeTo(FileStatsOutput(destination, statsType.name.lowercase()))
|
||||||
|
|
||||||
println("$description: Done")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|||||||
Reference in New Issue
Block a user