Skip to content

Commit dbe8589

Browse files
Fix typo
1 parent 4d13481 commit dbe8589

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=1.2.7

community-build/src/test/scala/dotty/communitybuild/CommunityBuildTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ abstract class BuildTest {
5959
|
6060
|sbt exited with an error code. To reproduce without JUnit, use:
6161
|
62-
| sbt prepare-for-comunity-build
62+
| sbt community-build/prepareCommunityBuild
6363
| cd community-build/community-projects/$project
6464
| sbt --addPluginSbtFile=$pluginFilePath "++$compilerVersion! $command"
6565
|

project/Build.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,12 +1016,12 @@ object Build {
10161016
}.dependsOn(compile in Compile).evaluated
10171017
)
10181018

1019-
lazy val `prepare-comunity-build` = taskKey[Unit]("Publish local the compiler and the sbt plugin. Also store the versions of the published local artefacts in two files, community-build/{dotty-bootstrapped.version,sbt-dotty.sbt}.")
1019+
lazy val `prepare-community-build` = taskKey[Unit]("Publish local the compiler and the sbt plugin. Also store the versions of the published local artefacts in two files, community-build/{dotty-bootstrapped.version,sbt-dotty.sbt}.")
10201020

10211021
lazy val `community-build` = project.in(file("community-build")).
10221022
settings(
10231023
scalaVersion := scalacVersion,
1024-
`prepare-comunity-build` := {
1024+
`prepare-community-build` := {
10251025
(publishLocal in `dotty-sbt-bridge`).value
10261026
(publishLocal in `dotty-interfaces`).value
10271027
(publishLocal in `dotty-compiler-bootstrapped`).value
@@ -1035,8 +1035,8 @@ object Build {
10351035
IO.write(baseDirectory.value / "sbt-dotty.sbt", pluginText)
10361036
IO.write(baseDirectory.value / "dotty-bootstrapped.version", dottyVersion)
10371037
},
1038-
(Test / testOnly) := ((Test / testOnly) dependsOn `prepare-comunity-build`).evaluated,
1039-
(Test / test ) := ((Test / test ) dependsOn `prepare-comunity-build`).value,
1038+
(Test / testOnly) := ((Test / testOnly) dependsOn `prepare-community-build`).evaluated,
1039+
(Test / test ) := ((Test / test ) dependsOn `prepare-community-build`).value,
10401040
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test,
10411041
testOptions in Test += Tests.Argument(TestFrameworks.JUnit, "-a", "-v")
10421042
)

0 commit comments

Comments
 (0)