Skip to content

Commit

Permalink
Rename open-feature modules to openfeature
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcardell committed Sep 10, 2024
1 parent d7515da commit 46d8ee7
Show file tree
Hide file tree
Showing 24 changed files with 22 additions and 22 deletions.
43 changes: 22 additions & 21 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ Global / concurrentRestrictions += Tags.limit(Tags.Test, 1)
lazy val projects = Seq(
`flipt-sdk-server`,
`flipt-sdk-server-it`,
`open-feature-sdk`,
`open-feature-provider-flipt`,
`open-feature-provider-flipt-it`,
`openfeature-sdk`,
`openfeature-provider-flipt`,
`openfeature-provider-flipt-it`,
examples,
docs
)

Expand Down Expand Up @@ -78,77 +79,77 @@ lazy val `flipt-sdk-server-it` = crossProject(JVMPlatform)
)
.dependsOn(`flipt-sdk-server`)

lazy val `open-feature-sdk` = crossProject(
lazy val `openfeature-sdk` = crossProject(
JVMPlatform,
JSPlatform,
NativePlatform
)
.crossType(CrossType.Pure)
.in(file("open-feature/sdk"))
.in(file("openfeature/sdk"))
.enablePlugins(NoPublishPlugin)
.settings(commonDependencies)
.settings(
name := "ff4s-open-feature-sdk"
name := "ff4s-openfeature-sdk"
)

lazy val `open-feature-sdk-circe` = crossProject(
lazy val `openfeature-sdk-circe` = crossProject(
JVMPlatform,
JSPlatform,
NativePlatform
)
.crossType(CrossType.Pure)
.in(file("open-feature/sdk-circe"))
.in(file("openfeature/sdk-circe"))
.enablePlugins(NoPublishPlugin)
.settings(commonDependencies)
.settings(
name := "ff4s-open-feature-sdk-circe",
name := "ff4s-openfeature-sdk-circe",
libraryDependencies ++= Seq(
"io.circe" %%% "circe-core" % "0.14.7",
"io.circe" %%% "circe-parser" % "0.14.7"
)
)
.dependsOn(`open-feature-sdk`)
.dependsOn(`openfeature-sdk`)

lazy val `open-feature-provider-flipt` = crossProject(
lazy val `openfeature-provider-flipt` = crossProject(
JVMPlatform,
JSPlatform,
NativePlatform
)
.crossType(CrossType.Pure)
.in(file("open-feature/provider-flipt"))
.in(file("openfeature/provider-flipt"))
.enablePlugins(NoPublishPlugin)
.settings(commonDependencies)
.settings(
name := "ff4s-open-feature-provider-flipt"
name := "ff4s-openfeature-provider-flipt"
)
.dependsOn(
`open-feature-sdk`,
`openfeature-sdk`,
`flipt-sdk-server`
)

lazy val `open-feature-provider-flipt-it` = crossProject(JVMPlatform)
lazy val `openfeature-provider-flipt-it` = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("open-feature/provider-flipt-it"))
.in(file("openfeature/provider-flipt-it"))
.enablePlugins(NoPublishPlugin)
.settings(commonDependencies)
.settings(
name := "ff4s-open-feature-provider-flipt-it",
name := "ff4s-openfeature-provider-flipt-it",
libraryDependencies ++= Seq(
"org.http4s" %%% "http4s-ember-client" % "0.23.26" % Test,
"com.dimafeng" %% "testcontainers-scala-munit" % "0.41.3" % Test,
"io.circe" %%% "circe-generic" % "0.14.7" % Test
)
)
.dependsOn(
`open-feature-provider-flipt`,
`open-feature-sdk-circe`
`openfeature-provider-flipt`,
`openfeature-sdk-circe`
)

lazy val examples = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("examples"))
.enablePlugins(NoPublishPlugin)
.dependsOn(`open-feature-provider-flipt`)
.dependsOn(`openfeature-provider-flipt`)

lazy val docs = project
.in(file("site"))
Expand All @@ -166,6 +167,6 @@ lazy val docs = project
"org.http4s" %%% "http4s-ember-client" % "0.23.26"
)
)
.dependsOn(`open-feature-provider-flipt`.jvm)
.dependsOn(`openfeature-provider-flipt`.jvm)

addCommandAlias("fix", "headerCreateAll;scalafixAll;scalafmtAll;scalafmtSbt")
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.cardell.openfeature.examples

import io.cardell.ff4s.flipt.FliptApiImpl
import cats.effect.IO
import org.http4s.client.Client
import io.cardell.ff4s.flipt.FliptApi
Expand Down

0 comments on commit 46d8ee7

Please sign in to comment.