Skip to content

Commit

Permalink
-skip-packages ... no longer works; use -skip-packages: (#28)
Browse files Browse the repository at this point in the history
Running `sbt publishLocal` caused a build-failure on my end. This is
caused by the fact that the sbt instructions used a removed syntax for
scaladoc: ["-skip-packages", "..."] instead of "-skip-packages:...". See
scala/scala3#14939.

Now 'sbt +publishLocal' works without errors.
  • Loading branch information
nbfalcon committed Jan 30, 2024
1 parent 0a22c0b commit b7e7fe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ lazy val docSettings = Seq(
Compile / doc / scalacOptions ++= Seq(
// ANTLR-generated classes aren't really part of public API and cause
// errors in ScalaDoc generation
"-skip-packages",
"firrtl2.antlr",
"-skip-packages:firrtl2.antlr",
"-Xfatal-warnings",
"-feature",
"-diagrams",
Expand Down

0 comments on commit b7e7fe8

Please sign in to comment.