File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ val `scala-compiler` = Build.`scala-compiler`
1919val `scala-reflect` = Build .`scala-reflect`
2020val scalap = Build .scalap
2121val dist = Build .dist
22+ val `dist-bootstrapped` = Build .`dist-bootstrapped`
2223
2324val `sbt-dotty` = Build .`sbt-dotty`
2425val `vscode-dotty` = Build .`vscode-dotty`
Original file line number Diff line number Diff line change @@ -1178,4 +1178,24 @@ object Build {
11781178 packResourceDir += (baseDirectory.value / " bin" -> " bin" ),
11791179 packArchiveName := " dotty-" + dottyVersion
11801180 )
1181+
1182+ // Same as `dist` but using bootstrapped projects.
1183+ lazy val `dist-bootstrapped` = project.
1184+ dependsOn(`dotty-interfaces`).
1185+ dependsOn(`dotty-library-bootstrapped`).
1186+ dependsOn(`dotty-compiler-bootstrapped`).
1187+ dependsOn(`dotty-doc-bootstrapped`).
1188+ settings(commonBootstrappedSettings).
1189+ settings(packSettings).
1190+ settings(
1191+ target := baseDirectory.value / " target" , // override setting in commonBootstrappedSettings
1192+ triggeredMessage in ThisBuild := Watched .clearWhenTriggered,
1193+ submoduleChecks,
1194+ publishArtifact := false ,
1195+ // packMain := Map("dummy" -> "dotty.tools.dotc.Main"),
1196+ packExpandedClasspath := true ,
1197+ // packExcludeJars := Seq("scala-library-.*\\.jar"),
1198+ packResourceDir += (baseDirectory.value / " bin" -> " bin" ),
1199+ packArchiveName := " dotty-" + dottyVersion
1200+ )
11811201}
You can’t perform that action at this time.
0 commit comments