mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27: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
|
||||
val latestVersionFuture = github.latestKobaltVersion
|
||||
benchmark("Build", {
|
||||
println(AsciiArt.banner + Kobalt.version + "\n")
|
||||
runTest()
|
||||
// runTest()
|
||||
result = runWithArgs(jc, args)
|
||||
executors.shutdown()
|
||||
})
|
||||
|
@ -107,6 +106,10 @@ private class Main @Inject constructor(
|
|||
args.buildFile = p.absolutePath
|
||||
val buildFile = BuildFile(Paths.get(p.absolutePath), p.name)
|
||||
|
||||
if (! args.update) {
|
||||
println(AsciiArt.banner + Kobalt.version + "\n")
|
||||
}
|
||||
|
||||
if (args.init) {
|
||||
//
|
||||
// --init: create a new build project and install the wrapper
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue