mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
warn() to log().
This commit is contained in:
parent
d777ca20cb
commit
6a50e01ebc
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
package com.beust.kobalt.api
|
package com.beust.kobalt.api
|
||||||
|
|
||||||
import com.beust.kobalt.TaskResult
|
import com.beust.kobalt.TaskResult
|
||||||
import com.beust.kobalt.misc.warn
|
|
||||||
|
|
||||||
interface ICompilerDescription : Comparable<ICompilerDescription> {
|
interface ICompilerDescription : Comparable<ICompilerDescription> {
|
||||||
/**
|
/**
|
||||||
|
@ -58,7 +57,7 @@ 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 {
|
||||||
log(2, "$name couldn't find any source files to compile")
|
context.logger.log(project.name, 2, "$name couldn't find any source files to compile")
|
||||||
TaskResult()
|
TaskResult()
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue