mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
Restore null default build file.
This commit is contained in:
parent
5db8e7e89c
commit
482cf3d16d
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ class Args {
|
|||
var targets: List<String> = arrayListOf()
|
||||
|
||||
@Parameter(names = arrayOf("-bf", "--buildFile"), description = "The build file")
|
||||
var buildFile: String = "Build.kt"
|
||||
var buildFile: String? = null
|
||||
|
||||
@Parameter(names = arrayOf("--checkVersions"), description = "Check if there are any newer versions of the " +
|
||||
"dependencies")
|
||||
|
|
|
@ -109,7 +109,7 @@ private class Main @Inject constructor(
|
|||
//
|
||||
Wrapper().install()
|
||||
ProjectGenerator().run(args)
|
||||
} else if (args.usage || args.targets.isEmpty()) {
|
||||
} else if (args.usage) {
|
||||
jc.usage()
|
||||
} else {
|
||||
if (! buildFile.exists()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue