-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #223 from armanbilge/update/munit-1.0.0-M5
Upgrade to MUnit 1.0.0-M6
- Loading branch information
Showing
25 changed files
with
248 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,24 @@ | ||
ThisBuild / tlBaseVersion := "1.0" | ||
ThisBuild / tlBaseVersion := "2.0" | ||
|
||
ThisBuild / developers += tlGitHubDev("milanvdm", "Milan van der Meer") | ||
ThisBuild / startYear := Some(2021) | ||
|
||
ThisBuild / crossScalaVersions := List("3.1.3", "2.12.16", "2.13.8") | ||
|
||
ThisBuild / tlFatalWarningsInCi := false | ||
|
||
lazy val docs = project | ||
.in(file("site")) | ||
.dependsOn(ce3.jvm) | ||
.dependsOn(core.jvm) | ||
.enablePlugins(TypelevelSitePlugin) | ||
|
||
lazy val root = tlCrossRootProject.aggregate(ce3, ce2) | ||
lazy val root = tlCrossRootProject.aggregate(core) | ||
|
||
lazy val ce3 = crossProject(JSPlatform, JVMPlatform) | ||
.crossType(CrossType.Full) | ||
.settings( | ||
name := "munit-cats-effect-3", | ||
Compile / unmanagedSourceDirectories += baseDirectory.value / "../../common/shared/src/main/scala", | ||
Test / unmanagedSourceDirectories += baseDirectory.value / "../../common/shared/src/test/scala" | ||
) | ||
lazy val core = crossProject(JSPlatform, JVMPlatform) | ||
.crossType(CrossType.Pure) | ||
.in(file("core")) | ||
.settings( | ||
name := "munit-cats-effect", | ||
libraryDependencies ++= Seq( | ||
"org.scalameta" %%% "munit" % "0.7.29", | ||
"org.scalameta" %%% "munit" % "1.0.0-M6", | ||
"org.typelevel" %%% "cats-effect" % "3.3.14" | ||
), | ||
// we are checking binary compatibility from the 1.0.6 version | ||
mimaPreviousArtifacts ~= { | ||
_.filter { m => | ||
VersionNumber(m.revision).matchesSemVer(SemanticSelector(">=1.0.6")) | ||
} | ||
} | ||
) | ||
.jvmSettings( | ||
Compile / unmanagedSourceDirectories += baseDirectory.value / "../../common/jvm/src/main/scala", | ||
Test / unmanagedSourceDirectories += baseDirectory.value / "../../common/jvm/src/test/scala" | ||
) | ||
.jsSettings( | ||
Compile / unmanagedSourceDirectories += baseDirectory.value / "../../common/js/src/main/scala", | ||
Test / unmanagedSourceDirectories += baseDirectory.value / "../../common/js/src/test/scala", | ||
scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule)) | ||
) | ||
|
||
lazy val ce2 = crossProject(JSPlatform, JVMPlatform) | ||
.crossType(CrossType.Full) | ||
.settings( | ||
name := "munit-cats-effect-2", | ||
Compile / unmanagedSourceDirectories += baseDirectory.value / "../../common/shared/src/main/scala", | ||
Test / unmanagedSourceDirectories += baseDirectory.value / "../../common/shared/src/test/scala" | ||
) | ||
.settings( | ||
libraryDependencies ++= Seq( | ||
"org.scalameta" %%% "munit" % "0.7.29", | ||
"org.typelevel" %%% "cats-effect" % "2.5.5" | ||
), | ||
// we are checking binary compatibility from the 1.0.6 version | ||
mimaPreviousArtifacts ~= { | ||
_.filter { m => | ||
VersionNumber(m.revision).matchesSemVer(SemanticSelector(">=1.0.6")) | ||
} | ||
} | ||
) | ||
) | ||
.jvmSettings( | ||
Compile / unmanagedSourceDirectories += baseDirectory.value / "../../common/jvm/src/main/scala", | ||
Test / unmanagedSourceDirectories += baseDirectory.value / "../../common/jvm/src/test/scala" | ||
) | ||
.jsSettings( | ||
libraryDependencies += "org.scala-js" %%% "scala-js-macrotask-executor" % "1.0.0", | ||
Compile / unmanagedSourceDirectories += baseDirectory.value / "../../common/js/src/main/scala", | ||
Test / unmanagedSourceDirectories += baseDirectory.value / "../../common/js/src/test/scala", | ||
scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule)) | ||
) | ||
|
||
addCommandAlias("fmt", """scalafmtSbt;scalafmtAll""") | ||
addCommandAlias("fmtCheck", """scalafmtSbtCheck;scalafmtCheckAll""") |
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
ce2/jvm/src/main/scala/munit/CatsEffectSuitePlatform.scala
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
ce3/jvm/src/main/scala/munit/CatsEffectSuitePlatform.scala
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
common/js/src/main/scala/munit/CatsEffectFixturesPlatform.scala
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
common/jvm/src/main/scala/munit/CatsEffectFixturesPlatform.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.