Files
sbt/compile/CompilerInterfaceProvider.scala
T

15 lines
370 B
Scala
Raw Normal View History

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