Skip to content

Commit 437af5f

Browse files
Remove dotty-repl project from build
1 parent 6105821 commit 437af5f

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

project/Build.scala

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -359,45 +359,6 @@ object Build {
359359
)
360360
)
361361

362-
lazy val `dotty-repl` = project.in(file("repl")).
363-
dependsOn(
364-
`dotty-compiler`,
365-
`dotty-compiler` % "test->test"
366-
).
367-
settings(commonNonBootstrappedSettings).
368-
settings(
369-
// set system in/out for repl
370-
connectInput in run := true,
371-
outputStrategy := Some(StdoutOutput),
372-
373-
// enable verbose exception messages for JUnit
374-
testOptions in Test += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"),
375-
376-
resourceDirectory in Test := baseDirectory.value / "test-resources",
377-
378-
run := Def.inputTaskDyn {
379-
val classPath =
380-
(packageAll in `dotty-compiler-bootstrapped`).value("dotty-library") + ":" +
381-
(packageAll in `dotty-compiler-bootstrapped`).value("dotty-interfaces")
382-
383-
val args: Seq[String] = spaceDelimited("<arg>").parsed
384-
385-
val fullArgs = args.span(_ != "-classpath") match {
386-
case (beforeCp, Nil) => beforeCp ++ ("-classpath" :: classPath :: Nil)
387-
case (beforeCp, rest) => beforeCp ++ rest
388-
}
389-
390-
(runMain in Compile).toTask(
391-
s" dotty.tools.repl.Main " + fullArgs.mkString(" ")
392-
)
393-
}.evaluated,
394-
395-
javaOptions ++= (javaOptions in `dotty-compiler`).value,
396-
fork in run := true,
397-
fork in Test := true,
398-
parallelExecution in Test := false
399-
)
400-
401362
lazy val `dotty-doc` = project.in(file("doc-tool")).
402363
dependsOn(`dotty-compiler`, `dotty-compiler` % "test->test").
403364
settings(commonNonBootstrappedSettings).

0 commit comments

Comments
 (0)