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