Skip to content

Commit

Permalink
Merge pull request #337 from SethTisue/try-scala3doc
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Dec 20, 2020
2 parents 78de565 + 7bf409c commit ac460f1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,9 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
)
case _ => Seq()
}),
// don't run Dottydoc, it errors and isn't needed anyway
Compile / doc / sources := (if (isDotty.value) Seq() else (Compile / doc/ sources).value),
Compile / packageDoc / publishArtifact := !isDotty.value,
Compile / doc / scalacOptions ++= {
if (isDotty.value)
Seq()
Seq() // TODO see what flags might be desirable to pass to Scala3doc
else
Seq(
"-diagrams",
Expand Down

0 comments on commit ac460f1

Please sign in to comment.