From 618c941f2e241c4439f1be01e486a44c547a8c18 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Thu, 31 Aug 2017 17:48:10 +0200 Subject: [PATCH] Remove dotty-repl project from `Build.scala` --- project/Build.scala | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/project/Build.scala b/project/Build.scala index 50d05fec03e2..c79b5b986905 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -359,45 +359,6 @@ object Build { ) ) - lazy val `dotty-repl` = project.in(file("repl")). - dependsOn( - `dotty-compiler`, - `dotty-compiler` % "test->test" - ). - settings(commonNonBootstrappedSettings). - settings( - // set system in/out for repl - connectInput in run := true, - outputStrategy := Some(StdoutOutput), - - // enable verbose exception messages for JUnit - testOptions in Test += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"), - - resourceDirectory in Test := baseDirectory.value / "test-resources", - - run := Def.inputTaskDyn { - val classPath = - (packageAll in `dotty-compiler-bootstrapped`).value("dotty-library") + ":" + - (packageAll in `dotty-compiler-bootstrapped`).value("dotty-interfaces") - - val args: Seq[String] = spaceDelimited("").parsed - - val fullArgs = args.span(_ != "-classpath") match { - case (beforeCp, Nil) => beforeCp ++ ("-classpath" :: classPath :: Nil) - case (beforeCp, rest) => beforeCp ++ rest - } - - (runMain in Compile).toTask( - s" dotty.tools.repl.Main " + fullArgs.mkString(" ") - ) - }.evaluated, - - javaOptions ++= (javaOptions in `dotty-compiler`).value, - fork in run := true, - fork in Test := true, - parallelExecution in Test := false - ) - lazy val `dotty-doc` = project.in(file("doc-tool")). dependsOn(`dotty-compiler`, `dotty-compiler` % "test->test"). settings(commonNonBootstrappedSettings).