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

Better warning.

This commit is contained in:
Cedric Beust 2017-03-16 10:01:49 -07:00
parent 71b7c6d58c
commit 3f1155a280

View file

@ -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"
} }