Skip to content

Commit 675dfb8

Browse files
oderskycheeseng
authored andcommitted
Compile scalatest with -noindent
1 parent 9582eea commit 675dfb8

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

project/DottyBuild.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ trait DottyBuild { this: BuildCommons =>
1717
lazy val dottySettings = List(
1818
scalaVersion := dottyVersion,
1919
libraryDependencies := libraryDependencies.value.map(_.withDottyCompat(scalaVersion.value)),
20-
scalacOptions := List("-language:implicitConversions")
20+
scalacOptions := List("-language:implicitConversions", "-noindent")
2121
)
2222

2323
lazy val scalacticDotty = Project("scalacticDotty", file("scalactic.dotty"))

project/scalatest.scala

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,6 @@ object ScalatestBuild extends BuildCommons with DottyBuild with NativeBuild with
163163
else
164164
scalaLibraries(scalaVersion.value),
165165
},
166-
/*publishTo <<= version { v: String =>
167-
val nexus = "https://oss.sonatype.org/"
168-
if (v.trim.endsWith("SNAPSHOT")) Some("publish-snapshots" at nexus + "content/repositories/snapshots")
169-
else Some("publish-releases" at nexus + "service/local/staging/deploy/maven2")
170-
},*/
171166
publishTo := {
172167
val nexus = "https://oss.sonatype.org/"
173168
if (version.value.trim.endsWith("SNAPSHOT"))
@@ -485,7 +480,7 @@ object ScalatestBuild extends BuildCommons with DottyBuild with NativeBuild with
485480
"org.scalatest.time",
486481
"org.scalatest.tools",
487482
"org.scalatest.verb",
488-
"org.scalatest.words",
483+
"org.scalatest.words",
489484
"org.scalatest.wordspec"
490485
),
491486
OsgiKeys.importPackage := Seq(

0 commit comments

Comments
 (0)