Skip to content

Commit 4d759c1

Browse files
committed
dotty 0.24.0-bin-20200324-6cd3a9d-NIGHTLY
1 parent 5ccf540 commit 4d759c1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

project/DottyBuild.scala

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ trait DottyBuild { this: BuildCommons =>
1313

1414
// List of available night build at https://repo1.maven.org/maven2/ch/epfl/lamp/dotty-compiler_0.14/
1515
// lazy val dottyVersion = dottyLatestNightlyBuild.get
16-
lazy val dottyVersion = "0.23.0-RC1"
16+
lazy val dottyVersion = "0.24.0-bin-20200324-6cd3a9d-NIGHTLY"
17+
// lazy val dottyVersion = "0.23.0-RC1"
18+
private lazy val customBuildVersion = version := {
19+
val isDottyNightly = dottyVersion.length > 10 // // "0.xx.0-bin".length
20+
val suffix =
21+
if (isDottyNightly) "-dotty" + dottyVersion.substring(10)
22+
else ""
23+
s"3.1.1$suffix"
24+
}
1725
lazy val dottySettings = List(
1826
scalaVersion := dottyVersion,
1927
libraryDependencies := libraryDependencies.value.map(_.withDottyCompat(scalaVersion.value)),
@@ -28,7 +36,7 @@ trait DottyBuild { this: BuildCommons =>
2836
.settings(
2937
projectTitle := "Scalactic",
3038
organization := "com.sandinh",
31-
version := "3.1.1-dottybug8581",
39+
customBuildVersion,
3240
moduleName := "scalactic",
3341
initialCommands in console := "import org.scalactic._",
3442
sourceGenerators in Compile += {
@@ -86,6 +94,7 @@ trait DottyBuild { this: BuildCommons =>
8694
.settings(
8795
projectTitle := "ScalaTest",
8896
organization := "com.sandinh",
97+
customBuildVersion,
8998
moduleName := "scalatest",
9099
initialCommands in console := """|import org.scalatest._
91100
|import org.scalactic._

0 commit comments

Comments
 (0)