Skip to content

Commit

Permalink
Preliminary work on monitor support
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Dec 9, 2023
1 parent 1cd37f5 commit d0e0f58
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 16 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def groupByName(tests: Seq[TestDefinition]): Seq[Group] = {
}

lazy val root = project.in(file("."))
.aggregate(coreJS, coreJVM, driver, docs) // example, generator
.aggregate(coreJS, coreJVM, driver, monitor, docs) // example, generator
.settings(
publish := {},
publishLocal := {}
Expand Down Expand Up @@ -82,6 +82,21 @@ lazy val driver = project.in(file("driver"))
)
.dependsOn(coreJVM)

lazy val monitor = project.in(file("monitor"))
.settings(
name := "scarango-monitor",
fork := true,
Test / testGrouping := groupByName((Test / definedTests).value),
Test / testOptions += Tests.Argument("-oF"),
Test / parallelExecution := false,
libraryDependencies ++= Seq(
dep.spiceClient,
dep.scalaTest,
dep.catsEffectTesting
)
)
.dependsOn(driver)

lazy val generator = project.in(file("generator"))
.settings(
name := "scarango-generator",
Expand Down
4 changes: 3 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ object Dependencies {

val scalaMeta: String = "4.8.7"

val spice: String = "0.2.0"

val scalaTest: String = "3.2.17"

val catsEffectTesting: String = "1.5.0"
}

val fabric: ModuleID = "org.typelevel" %% "fabric-io" % version.fabric
val profig: ModuleID = "com.outr" %% "profig" % version.profig
val scalaPass: ModuleID = "com.outr" %% "scalapass" % version.scalaPass
Expand All @@ -35,6 +36,7 @@ object Dependencies {
val scribe: ModuleID = "com.outr" %% "scribe" % version.scribe
val scribeSlf4j: ModuleID = "com.outr" %% "scribe-slf4j2" % version.scribe
val scalaMeta: ModuleID = "org.scalameta" %% "scalameta" % version.scalaMeta
val spiceClient: ModuleID = "com.outr" %% "spice-client-jvm" % version.spice

val scalaTest: ModuleID = "org.scalatest" %% "scalatest" % version.scalaTest % "test"
val catsEffectTesting: ModuleID = "org.typelevel" %% "cats-effect-testing-scalatest" % version.catsEffectTesting % "test"
Expand Down

0 comments on commit d0e0f58

Please sign in to comment.