Skip to content

Commit 5ca832a

Browse files
committed
disable failing Dottydoc
I'm seeing a lot of repos doing this -- it's fine, Scala3doc will replace it
1 parent 8d224b4 commit 5ca832a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.sbt

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
4040

4141
scalacOptions in Test += "-Xxml:coalescing",
4242

43+
// don't run Dottydoc, it errors and isn't needed anyway.
44+
// but we leave `publishArtifact` set to true, otherwise Sonatype won't let us publish
45+
Compile / doc / sources := (if (isDotty.value) Seq() else (Compile / doc/ sources).value),
46+
4347
scalaModuleMimaPreviousVersion := {
4448
if (isDotty.value) None // No such release yet
4549
// else if (System.getenv("SCALAJS_VERSION") == "1.0.1") None

0 commit comments

Comments
 (0)