Skip to content

Commit

Permalink
Remove skipping publish for Scala >= 3.1. (#229)
Browse files Browse the repository at this point in the history
Co-authored-by: Docusaurus bot <mdoc@docusaurus>
  • Loading branch information
pk044 and Docusaurus bot committed Jul 21, 2022
1 parent 3fe4ebd commit 61467d6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ lazy val baseSettings = Seq(
organizationName := "Iterators",
organizationHomepage := Some(url("https://iterato.rs")),
homepage := Some(url("https://github.com/theiterators/kebs")),
scalacOptions := Seq("-deprecation", "-unchecked", "-feature", "-encoding", "utf8"),
// Don't publish for Scala 3.1 or later, only from 3.0
publish / skip := (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, x)) if x > 0 => true
case _ => false
})
scalacOptions := Seq("-deprecation", "-unchecked", "-feature", "-encoding", "utf8")
)

lazy val commonMacroSettings = baseSettings ++ Seq(
Expand Down

0 comments on commit 61467d6

Please sign in to comment.