1
0
Fork 0
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:
Cedric Beust 2015-10-08 03:00:30 -07:00
parent 5db8e7e89c
commit 482cf3d16d
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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()) {