1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Error if build file doesn't exist.

This commit is contained in:
Cedric Beust 2015-10-27 20:35:12 -07:00
parent 5ddde740b5
commit ad76b7f4f7

View file

@ -118,7 +118,7 @@ private class Main @Inject constructor(
server.run() server.run()
} else { } else {
if (! buildFile.exists()) { if (! buildFile.exists()) {
jc.usage() error(buildFile.path.toFile().path + " does not exist")
} else { } else {
val allProjects = buildFileCompilerFactory.create(listOf(buildFile)).compileBuildFiles(args) val allProjects = buildFileCompilerFactory.create(listOf(buildFile)).compileBuildFiles(args)