diff options
| author | Amir Saeid <amir@glgdgt.com> | 2026-02-14 16:18:58 +0000 |
|---|---|---|
| committer | Amir Saeid <amir@glgdgt.com> | 2026-02-14 16:18:58 +0000 |
| commit | 283d4eca6ac24391a5dc86cc3d55175ee5f78741 (patch) | |
| tree | be7f8f691da514917efbe0e948e09bd76c2cf673 /build.sbt | |
| parent | 1fa98aed370d81b656d8e32c44f7bafa40be12b1 (diff) | |
Allow converting Fair/FairT to fs2.Stream
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -17,7 +17,7 @@ val Scala213 = "2.13.18" ThisBuild / crossScalaVersions := Seq(Scala213, "3.3.7") ThisBuild / scalaVersion := Scala213 // the default Scala -lazy val root = tlCrossRootProject.aggregate(core) +lazy val root = tlCrossRootProject.aggregate(core, fs2) lazy val core = crossProject(JVMPlatform, JSPlatform) .crossType(CrossType.Pure) @@ -32,4 +32,17 @@ lazy val core = crossProject(JVMPlatform, JSPlatform) ) ) +lazy val fs2 = crossProject(JVMPlatform, JSPlatform) + .crossType(CrossType.Pure) + .in(file("fs2")) + .dependsOn(core) + .settings( + name := "fairstream-fs2", + libraryDependencies ++= Seq( + "co.fs2" %%% "fs2-core" % "3.12.2", + "org.scalameta" %%% "munit" % "1.2.2" % Test, + "org.typelevel" %%% "munit-cats-effect" % "2.1.0" % Test + ) + ) + lazy val docs = project.in(file("site")).enablePlugins(TypelevelSitePlugin) |
