blob: c97e4a8f3ff675fdb1baed72db7d2ef63ba5a46e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import scala.tools.nsc._
import io.Path
object Test
{
val cwd = Option(System.getProperty("partest.cwd")) getOrElse "."
val basedir = (Path(cwd).parent / "lib").path
val baseargs = Array("-bootclasspath", basedir + "/scala-library.jar", "-cp", basedir + "/scala-compiler.jar")
def main(args: Array[String]): Unit = {
Main process (baseargs ++ Array("-Xshow-phases"))
}
}
|