sbt/compile/CompilerInterfaceProvider.s...

15 lines
370 B
Scala
Raw Normal View History

2012-04-18 14:07:53 +02:00
package sbt
package compiler
import java.io.File
trait CompilerInterfaceProvider
{
2012-04-18 22:01:45 +02:00
def apply(scalaInstance: xsbti.compile.ScalaInstance, log: Logger): File
2012-04-18 14:07:53 +02:00
}
object CompilerInterfaceProvider
{
def constant(file: File): CompilerInterfaceProvider = new CompilerInterfaceProvider {
2012-04-18 22:01:45 +02:00
def apply(scalaInstance: xsbti.compile.ScalaInstance, log: Logger): File = file
2012-04-18 14:07:53 +02:00
}
}