Skip to content

Commit 37ba534

Browse files
committed
chore: add scala3-bootstrapped root in the new build
1 parent c354993 commit 37ba534

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
val scala3 = Build.scala3
22
val `scala3-nonbootstrapped` = Build.`scala3-nonbootstrapped`
33
val `scala3-bootstrapped` = Build.`scala3-bootstrapped`
4+
val `scala3-bootstrapped-new` = Build.`scala3-bootstrapped-new`
45
val `scala3-interfaces` = Build.`scala3-interfaces`
56
val `scala3-compiler` = Build.`scala3-compiler`
67
val `scala3-compiler-nonbootstrapped` = Build.`scala3-compiler-nonbootstrapped`

project/Build.scala

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,6 +1435,22 @@ object Build {
14351435
// =================================== BOOTSTRAPPED PROJECTS ====================================
14361436
// ==============================================================================================
14371437

1438+
lazy val `scala3-bootstrapped-new` = project
1439+
.aggregate(`scala3-interfaces`, `scala3-library-bootstrapped-new` , `scala-library-bootstrapped`,
1440+
`tasty-core-bootstrapped-new`, `scala3-compiler-bootstrapped-new`, `scala3-sbt-bridge-bootstrapped`)
1441+
.settings(
1442+
name := "scala3-bootstrapped",
1443+
moduleName := "scala3-bootstrapped",
1444+
version := dottyVersion,
1445+
// Nothing to be published by this project, it is only an aggregate
1446+
Compile / publishArtifact := false,
1447+
Test / publishArtifact := false,
1448+
// Nothing to be published by this project
1449+
publish / skip := true,
1450+
// Project specific target folder. sbt doesn't like having two projects using the same target folder
1451+
target := target.value / "scala3-bootstrapped",
1452+
)
1453+
14381454
/* Configuration of the org.scala-lang:scala3-sbt-bridge:*.**.**-bootstrapped project */
14391455
lazy val `scala3-sbt-bridge-bootstrapped` = project.in(file("sbt-bridge"))
14401456
.dependsOn(`scala3-compiler-bootstrapped`) // TODO: Would this actually evict the reference compiler in scala-tool?

0 commit comments

Comments
 (0)