Skip to content

Commit 04e8767

Browse files
committedNov 4, 2020
disable dottydoc, for now anyway
1 parent 80bfc2e commit 04e8767

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎build.sbt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
3535
)
3636
case _ => Seq()
3737
}),
38+
// don't run Dottydoc, it errors and isn't needed anyway
39+
Compile / doc / sources := (if (isDotty.value) Seq() else (Compile / doc/ sources).value),
40+
Compile / packageDoc / publishArtifact := !isDotty.value,
3841
Compile / doc / scalacOptions ++= {
3942
if (isDotty.value)
40-
Seq("-language:Scala2")
43+
Seq()
4144
else
4245
Seq(
4346
"-diagrams",

0 commit comments

Comments
 (0)