Skip to content

Commit 19f6e02

Browse files
committed
Append -nonbootstrapped to the version of non-bootstrapped projects
This make them easier to distinguish and harder to accidentally use. This also means that in the future we could compile dotty with `crossPath := false`, but this will require changing the hardcoded dotty dependencies in sbt.
1 parent af0ebac commit 19f6e02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

project/Build.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ object Build {
2828
else
2929
baseVersion + "-bin-SNAPSHOT"
3030
}
31+
val dottyNonBootstrappedVersion = dottyVersion + "-nonbootstrapped"
3132

3233
val jenkinsMemLimit = List("-Xmx1500m")
3334

@@ -98,15 +99,15 @@ object Build {
9899

99100
// Settings used when compiling dotty using Scala 2
100101
lazy val commonNonBootstrappedSettings = commonSettings ++ publishSettings ++ Seq(
101-
version := dottyVersion,
102+
version := dottyNonBootstrappedVersion,
102103
scalaVersion := scalacVersion
103104
)
104105

105106
// Settings used when compiling dotty with a non-bootstrapped dotty
106107
lazy val commonBootstrappedSettings = commonSettings ++ Seq(
107108
EclipseKeys.skipProject := true,
108109
version := dottyVersion,
109-
scalaVersion := dottyVersion,
110+
scalaVersion := dottyNonBootstrappedVersion,
110111
scalaOrganization := dottyOrganization,
111112
scalaBinaryVersion := "2.11",
112113

0 commit comments

Comments
 (0)