mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Don't show the banner if --update.
This commit is contained in:
parent
77df0afd18
commit
4df5eabec7
1 changed files with 5 additions and 2 deletions
|
@ -68,8 +68,7 @@ private class Main @Inject constructor(
|
||||||
var result = 0
|
var result = 0
|
||||||
val latestVersionFuture = github.latestKobaltVersion
|
val latestVersionFuture = github.latestKobaltVersion
|
||||||
benchmark("Build", {
|
benchmark("Build", {
|
||||||
println(AsciiArt.banner + Kobalt.version + "\n")
|
// runTest()
|
||||||
runTest()
|
|
||||||
result = runWithArgs(jc, args)
|
result = runWithArgs(jc, args)
|
||||||
executors.shutdown()
|
executors.shutdown()
|
||||||
})
|
})
|
||||||
|
@ -107,6 +106,10 @@ private class Main @Inject constructor(
|
||||||
args.buildFile = p.absolutePath
|
args.buildFile = p.absolutePath
|
||||||
val buildFile = BuildFile(Paths.get(p.absolutePath), p.name)
|
val buildFile = BuildFile(Paths.get(p.absolutePath), p.name)
|
||||||
|
|
||||||
|
if (! args.update) {
|
||||||
|
println(AsciiArt.banner + Kobalt.version + "\n")
|
||||||
|
}
|
||||||
|
|
||||||
if (args.init) {
|
if (args.init) {
|
||||||
//
|
//
|
||||||
// --init: create a new build project and install the wrapper
|
// --init: create a new build project and install the wrapper
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue