mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-29 17:38:12 -07:00
Warnings.
This commit is contained in:
parent
639c0249a4
commit
732f17b7b7
12 changed files with 19 additions and 25 deletions
|
@ -93,7 +93,7 @@ private class Main @Inject constructor(
|
|||
|
||||
var result = 0
|
||||
val latestVersionFuture = github.latestKobaltVersion
|
||||
val seconds = benchmark("build", {
|
||||
val seconds = benchmark {
|
||||
try {
|
||||
result = runWithArgs(jc, args, argv)
|
||||
} catch(ex: KobaltException) {
|
||||
|
@ -102,7 +102,7 @@ private class Main @Inject constructor(
|
|||
} finally {
|
||||
executors.shutdown()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
log(1, if (result != 0) "BUILD FAILED: $result" else "BUILD SUCCESSFUL ($seconds seconds)")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue