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`
19
19
val `scala-reflect` = Build .`scala-reflect`
20
20
val scalap = Build .scalap
21
21
val dist = Build .dist
22
+ val `dist-bootstrapped` = Build .`dist-bootstrapped`
22
23
23
24
val `sbt-dotty` = Build .`sbt-dotty`
24
25
val `vscode-dotty` = Build .`vscode-dotty`
Original file line number Diff line number Diff line change @@ -1178,4 +1178,24 @@ object Build {
1178
1178
packResourceDir += (baseDirectory.value / " bin" -> " bin" ),
1179
1179
packArchiveName := " dotty-" + dottyVersion
1180
1180
)
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
+ )
1181
1201
}
You can’t perform that action at this time.
0 commit comments