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

Restore the Kotlin compiler's ability to compile directories.

This commit is contained in:
Cedric Beust 2016-07-05 23:24:43 -08:00
parent f5560b2907
commit bd6dfb494f
2 changed files with 3 additions and 2 deletions

View file

@ -51,7 +51,8 @@ interface ICompiler {
class CompilerDescription(override val name: String, override val sourceDirectory: String,
override val sourceSuffixes: List<String>, val compiler: ICompiler,
override val priority: Int = ICompilerDescription.DEFAULT_PRIORITY) : ICompilerDescription {
override val priority: Int = ICompilerDescription.DEFAULT_PRIORITY,
override val canCompileDirectories: Boolean = false) : ICompilerDescription {
override fun compile(project: Project, context: KobaltContext, info: CompilerActionInfo): TaskResult {
val result =
if (info.sourceFiles.size > 0) {