mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Formatting.
This commit is contained in:
parent
c2aa0b45cb
commit
095a3918f1
1 changed files with 5 additions and 3 deletions
|
@ -199,7 +199,7 @@ private class Main @Inject constructor(
|
||||||
// --checkVersions
|
// --checkVersions
|
||||||
checkVersions.run(allProjects)
|
checkVersions.run(allProjects)
|
||||||
} else if (args.download) {
|
} else if (args.download) {
|
||||||
// -- download
|
// --download
|
||||||
updateKobalt.downloadKobalt()
|
updateKobalt.downloadKobalt()
|
||||||
} else {
|
} else {
|
||||||
//
|
//
|
||||||
|
@ -213,11 +213,13 @@ private class Main @Inject constructor(
|
||||||
// Shutdown all plug-ins
|
// Shutdown all plug-ins
|
||||||
plugins.shutdownPlugins()
|
plugins.shutdownPlugins()
|
||||||
|
|
||||||
|
// Display timings if requested
|
||||||
if (args.profiling) {
|
if (args.profiling) {
|
||||||
log(1, "\nTIMINGS (SECONDS)")
|
log(1, "\nTIMINGS (SECONDS)")
|
||||||
log(1, "================\n")
|
log(1, "=================\n")
|
||||||
runTargetResult.timings.sortedByDescending { it.durationMillis }.forEach {
|
runTargetResult.timings.sortedByDescending { it.durationMillis }.forEach {
|
||||||
log(1, String.format("%.2f", it.durationMillis.toDouble() / 1000) + " " + it.taskName)
|
log(1, String.format("%-6.2f", it.durationMillis.toDouble() / 1000)
|
||||||
|
+ " " + it.taskName)
|
||||||
}
|
}
|
||||||
log(1, "\n")
|
log(1, "\n")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue