Skip to content

Commit

Permalink
Merge pull request #7 from julianpeeters/dev
Browse files Browse the repository at this point in the history
Fix build.sbt to allow testing on ci
  • Loading branch information
julianpeeters committed Dec 16, 2023
2 parents 342aa44 + 2e14f40 commit 900e100
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,14 @@ lazy val root = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.enablePlugins(NoPublishPlugin)
.jsSettings(test := {})
.nativeSettings(test := {})
.settings(test :=
Def.sequential(
(cats.jvm / Test / test),
(scala.jvm / Test / test)
).value
)

lazy val cats = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.in(file("modules/cats"))
.settings(
name := "destructured-cats",
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-core" % "2.10.0",
"org.scalameta" %%% "munit" % "0.7.29" % Test
"org.scalameta" %% "munit" % "0.7.29" % Test
)
)
.jsSettings(test := {})
Expand All @@ -56,7 +50,7 @@ lazy val scala = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.settings(
name := "destructured-scala",
libraryDependencies ++= Seq(
"org.scalameta" %%% "munit" % "0.7.29" % Test
"org.scalameta" %% "munit" % "0.7.29" % Test
)
)
.jsSettings(test := {})
Expand Down

0 comments on commit 900e100

Please sign in to comment.