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:
parent
5ddde740b5
commit
ad76b7f4f7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue