@@ -359,45 +359,6 @@ object Build {
359
359
)
360
360
)
361
361
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
-
401
362
lazy val `dotty-doc` = project.in(file(" doc-tool" )).
402
363
dependsOn(`dotty-compiler`, `dotty-compiler` % " test->test" ).
403
364
settings(commonNonBootstrappedSettings).
0 commit comments