Skip to content

Commit ffa2988

Browse files
Backport "Fix typos in Build.scala" to LTS (#20712)
Backports #18689 to the LTS branch. PR submitted by the release tooling. [skip ci]
2 parents 38b2eee + 5d62112 commit ffa2988

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

project/Build.scala

+6-6
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ object Build {
790790
"-classpath" :: classpath :: beforeCp ::: fromCp.drop(2)
791791
}
792792

793-
lazy val nonBootstrapedDottyCompilerSettings = commonDottyCompilerSettings ++ Seq(
793+
lazy val nonBootstrappedDottyCompilerSettings = commonDottyCompilerSettings ++ Seq(
794794
// packageAll packages all and then returns a map with the abs location
795795
packageAll := Def.taskDyn { // Use a dynamic task to avoid loops when loading the settings
796796
Def.task {
@@ -817,7 +817,7 @@ object Build {
817817
(Test / javaOptions) += "-Xss2m"
818818
)
819819

820-
lazy val bootstrapedDottyCompilerSettings = commonDottyCompilerSettings ++ Seq(
820+
lazy val bootstrappedDottyCompilerSettings = commonDottyCompilerSettings ++ Seq(
821821
javaOptions ++= {
822822
val jars = packageAll.value
823823
Seq(
@@ -842,7 +842,7 @@ object Build {
842842
)
843843

844844
def dottyCompilerSettings(implicit mode: Mode): sbt.Def.SettingsDefinition =
845-
if (mode == NonBootstrapped) nonBootstrapedDottyCompilerSettings else bootstrapedDottyCompilerSettings
845+
if (mode == NonBootstrapped) nonBootstrappedDottyCompilerSettings else bootstrappedDottyCompilerSettings
846846

847847
lazy val `scala3-compiler` = project.in(file("compiler")).asDottyCompiler(NonBootstrapped)
848848

@@ -1047,7 +1047,7 @@ object Build {
10471047

10481048
/** Test the tasty generated by `stdlib-bootstrapped`
10491049
*
1050-
* The tests are run with the bootstrapped compiler and the tasty inpector on the classpath.
1050+
* The tests are run with the bootstrapped compiler and the tasty inspector on the classpath.
10511051
* The classpath has the default `scala-library` and not `stdlib-bootstrapped`.
10521052
*
10531053
* The jar of `stdlib-bootstrapped` is provided for to the tests.
@@ -1448,14 +1448,14 @@ object Build {
14481448
.asDottyBench(Bootstrapped)
14491449
.settings(Jmh / run / mainClass := Some("org.openjdk.jmh.Main"))
14501450

1451-
val testcasesOutputDir = taskKey[Seq[String]]("Root directory where tests classses are generated")
1451+
val testcasesOutputDir = taskKey[Seq[String]]("Root directory where tests classes are generated")
14521452
val testcasesSourceRoot = taskKey[String]("Root directory where tests sources are generated")
14531453
val testDocumentationRoot = taskKey[String]("Root directory where tests documentation are stored")
14541454
val generateSelfDocumentation = taskKey[Unit]("Generate example documentation")
14551455
// Note: the two tasks below should be one, but a bug in Tasty prevents that
14561456
val generateScalaDocumentation = inputKey[Unit]("Generate documentation for dotty lib")
14571457
val generateStableScala3Documentation = inputKey[Unit]("Generate documentation for stable dotty lib")
1458-
val generateTestcasesDocumentation = taskKey[Unit]("Generate documentation for testcases, usefull for debugging tests")
1458+
val generateTestcasesDocumentation = taskKey[Unit]("Generate documentation for testcases, useful for debugging tests")
14591459

14601460
val generateReferenceDocumentation = inputKey[Unit]("Generate language reference documentation for Scala 3")
14611461

0 commit comments

Comments
 (0)