Skip to content

Commit

Permalink
Update zio-laws-laws, zio-prelude to 1.0.0-RC21
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward committed Sep 18, 2023
1 parent a517d5d commit 7d08d4c
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ lazy val `kyo-core-settings` = `kyo-settings` ++ Seq(
libraryDependencies += "dev.zio" %%% "zio-test" % zioVersion % Test,
libraryDependencies += "dev.zio" %%% "zio-test-magnolia" % zioVersion % Test,
libraryDependencies += "dev.zio" %%% "zio-test-sbt" % zioVersion % Test,
libraryDependencies += "dev.zio" %%% "zio-prelude" % "1.0.0-RC20" % Test,
libraryDependencies += "dev.zio" %%% "zio-laws-laws" % "1.0.0-RC20" % Test,
libraryDependencies += "dev.zio" %%% "zio-prelude" % "1.0.0-RC21" % Test,
libraryDependencies += "dev.zio" %%% "zio-laws-laws" % "1.0.0-RC21" % Test,
libraryDependencies += "org.scalatest" %%% "scalatest" % "3.2.16" % Test,
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework"),
Global / concurrentRestrictions := Seq(
Expand Down Expand Up @@ -236,32 +236,32 @@ lazy val rewriteReadmeFile = taskKey[Unit]("Rewrite README file")

addCommandAlias("checkReadme", ";readme/rewriteReadmeFile; readme/mdoc")

lazy val readme =
lazy val readme =
crossProject(JVMPlatform)
.withoutSuffixFor(JVMPlatform)
.crossType(CrossType.Pure) // new documentation project
.crossType(CrossType.Pure) // new documentation project
.in(file("target/readme")) // important: it must not be docs/
.enablePlugins(MdocPlugin)
.settings(
`kyo-settings`,
`without-cross-scala`,
mdocIn := new File("./../../README-in.md"),
mdocOut := new File("./../../README-out.md"),
rewriteReadmeFile := {
val readmeFile = new File("README.md")
val targetReadmeFile = new File("target/README-in.md")
val contents = IO.read(readmeFile)
val newContents = contents.replaceAll("```scala\n", "```scala mdoc:nest\n")
IO.write(targetReadmeFile, newContents)
}
`kyo-settings`,
`without-cross-scala`,
mdocIn := new File("./../../README-in.md"),
mdocOut := new File("./../../README-out.md"),
rewriteReadmeFile := {
val readmeFile = new File("README.md")
val targetReadmeFile = new File("target/README-in.md")
val contents = IO.read(readmeFile)
val newContents = contents.replaceAll("```scala\n", "```scala mdoc:nest\n")
IO.write(targetReadmeFile, newContents)
}
)
.dependsOn(
`kyo-core`,
`kyo-zio`,
`kyo-direct`,
`kyo-sttp`,
`kyo-chatgpt`,
`kyo-bench`
`kyo-core`,
`kyo-zio`,
`kyo-direct`,
`kyo-sttp`,
`kyo-chatgpt`,
`kyo-bench`
)

lazy val `js-settings` = Seq(
Expand Down

0 comments on commit 7d08d4c

Please sign in to comment.