Skip to content

Commit 41e46c1

Browse files
Tweak dotty-specific source directory (#62)
In the dotty community build, the version is forced to something other than 0.10 (e.g. 0.12.…), so scala-2.10 isn't taken into account without this change.
1 parent 0408143 commit 41e46c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ lazy val sourcecode = crossProject(JSPlatform, JVMPlatform, NativePlatform)
5555
Seq()
5656
}
5757

58-
val scala2 = crossVer match {
58+
val scala2OrDotty = crossVer match {
5959
case Some((2, _)) =>
6060
Seq(baseDirectory.value / ".." / "shared" / "src" / "main" / "scala-2.x")
6161
case _ =>
62-
Seq()
62+
Seq(baseDirectory.value / ".." / "shared" / "src" / "main" / "dotty")
6363
}
6464

65-
scala211plus ++ scala2
65+
scala211plus ++ scala2OrDotty
6666
},
6767
// Osgi settings
6868
osgiSettings,

0 commit comments

Comments
 (0)