We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2fb3c commit ef1bd27Copy full SHA for ef1bd27
project/Build.scala
@@ -495,10 +495,8 @@ object Build {
495
"org.scala-lang" % "scala-library" % scalacVersion % "test"
496
),
497
498
- // For convenience, change the baseDirectory when running the compiler
499
- baseDirectory in (Compile, run) := baseDirectory.value / "..",
500
- // .. but not when running test
501
- baseDirectory in (Test, run) := baseDirectory.value,
+ // Set run baseDir to be root of project, makes dotc saner
+ baseDirectory in run := baseDirectory.value / "..",
502
503
test in Test := {
504
// Exclude legacy tests by default
0 commit comments