mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Better warning.
This commit is contained in:
parent
71b7c6d58c
commit
3f1155a280
1 changed files with 3 additions and 1 deletions
|
@ -58,10 +58,12 @@ class CompilerDescription(override val name: String, override val sourceDirecto
|
||||||
if (info.sourceFiles.isNotEmpty()) {
|
if (info.sourceFiles.isNotEmpty()) {
|
||||||
compiler.compile(project, context, info)
|
compiler.compile(project, context, info)
|
||||||
} else {
|
} else {
|
||||||
warn("Couldn't find any source files to compile")
|
warn("$name cdouldn't find any source files to compile")
|
||||||
TaskResult()
|
TaskResult()
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun toString() = name + " compiler"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue