@@ -1169,12 +1169,28 @@ object Build {
1169
1169
settings(commonNonBootstrappedSettings).
1170
1170
settings(packSettings).
1171
1171
settings(
1172
- triggeredMessage in ThisBuild := Watched .clearWhenTriggered,
1173
- submoduleChecks,
1174
1172
publishArtifact := false ,
1175
1173
// packMain := Map("dummy" -> "dotty.tools.dotc.Main"),
1176
1174
packExpandedClasspath := true ,
1177
1175
packResourceDir += (baseDirectory.value / " bin" -> " bin" ),
1178
1176
packArchiveName := " dotty-" + dottyVersion
1179
1177
)
1178
+
1179
+ // Same as `dist` but using bootstrapped projects.
1180
+ lazy val `dist-bootstrapped` = project.
1181
+ dependsOn(`dotty-interfaces`).
1182
+ dependsOn(`dotty-library-bootstrapped`).
1183
+ dependsOn(`dotty-compiler-bootstrapped`).
1184
+ dependsOn(`dotty-doc-bootstrapped`).
1185
+ settings(commonBootstrappedSettings).
1186
+ settings(packSettings).
1187
+ settings(
1188
+ target := baseDirectory.value / " target" , // override setting in commonBootstrappedSettings
1189
+ publishArtifact := false ,
1190
+ // packMain := Map("dummy" -> "dotty.tools.dotc.Main"),
1191
+ packExpandedClasspath := true ,
1192
+ // packExcludeJars := Seq("scala-library-.*\\.jar"),
1193
+ packResourceDir += (baseDirectory.value / " bin" -> " bin" ),
1194
+ packArchiveName := " dotty-" + dottyVersion
1195
+ )
1180
1196
}
0 commit comments