1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -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()
} else {
if (! buildFile.exists()) {
jc.usage()
error(buildFile.path.toFile().path + " does not exist")
} else {
val allProjects = buildFileCompilerFactory.create(listOf(buildFile)).compileBuildFiles(args)