Skip to content

Commit ee76224

Browse files
committed
Disable generation of scaladoc in bisect. It now allows to reduce publish times by 50%
1 parent e97fea5 commit ee76224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/scripts/bisect.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ class CommitBisect(validationScript: File, shouldFail: Boolean, bootstrapped: Bo
238238
val bisectRunScript = s"""
239239
|scalaVersion=$$(sbt "print ${scala3CompilerProject}/version" | tail -n1)
240240
|rm -r out
241-
|sbt "clean; ${scala3Project}/publishLocal"
241+
|sbt "clean; set every doc := new File(\"unused\"); set scaladoc/Compile/resourceGenerators := (\`${scala3Project}\`/Compile/resourceGenerators).value; ${scala3Project}/publishLocal"
242242
|${validationCommandStatusModifier}${validationScript.getAbsolutePath} "$$scalaVersion"
243243
""".stripMargin
244244
"git bisect start".!

0 commit comments

Comments
 (0)