1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-29 17:38:12 -07:00

Warnings.

This commit is contained in:
Cedric Beust 2015-11-30 22:44:24 -08:00
parent 639c0249a4
commit 732f17b7b7
12 changed files with 19 additions and 25 deletions

View file

@ -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)")