sbt/compile/CompilerInterfaceProvider.s...

15 lines
370 B
Scala

package sbt
package compiler
import java.io.File
trait CompilerInterfaceProvider
{
def apply(scalaInstance: xsbti.compile.ScalaInstance, log: Logger): File
}
object CompilerInterfaceProvider
{
def constant(file: File): CompilerInterfaceProvider = new CompilerInterfaceProvider {
def apply(scalaInstance: xsbti.compile.ScalaInstance, log: Logger): File = file
}
}