Skip to content

Commit

Permalink
Remove shims, we can bring it back when we need it
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherDavenport committed Jul 18, 2022
1 parent f466355 commit 507c66c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ jobs:

- name: Make target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
run: mkdir -p examples/target target .js/target site/target .jvm/target .native/target shims/target core/target project/target
run: mkdir -p examples/target target .js/target site/target .jvm/target .native/target core/target project/target

- name: Compress target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
run: tar cf targets.tar examples/target target .js/target site/target .jvm/target .native/target shims/target core/target project/target
run: tar cf targets.tar examples/target target .js/target site/target .jvm/target .native/target core/target project/target

- name: Upload target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
Expand Down
34 changes: 17 additions & 17 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ val munitCatsEffectV = "1.0.7"

// Projects
lazy val `sqlite-sjs` = tlCrossRootProject
.aggregate(core, shims, examples)
.aggregate(core, examples)

lazy val core = project.in(file("core"))
.enablePlugins(ScalaJSPlugin)
Expand All @@ -48,7 +48,7 @@ lazy val core = project.in(file("core"))

"io.circe" %%% "circe-core" % circeV,
"io.circe" %%% "circe-scalajs" % circeV,

"io.circe" %%% "circe-parser" % circeV % Test,

"org.typelevel" %%% "munit-cats-effect-3" % munitCatsEffectV % Test,
Expand All @@ -67,21 +67,21 @@ lazy val examples = project
scalaJSUseMainModuleInitializer := true,
)

lazy val shims = project
.in(file("shims"))
.enablePlugins(NoPublishPlugin)
.enablePlugins(ScalaJSPlugin)
.enablePlugins(ScalablyTypedConverterPlugin)
.settings(

Compile / npmDependencies ++= Seq(
"sqlite" -> "4.1.1",
"sqlite3" -> "5.0.9"
),
stIgnore := List(
"sqlite3"
)
)
// lazy val shims = project
// .in(file("shims"))
// .enablePlugins(NoPublishPlugin)
// .enablePlugins(ScalaJSPlugin)
// .enablePlugins(ScalablyTypedConverterPlugin)
// .settings(

// Compile / npmDependencies ++= Seq(
// "sqlite" -> "4.1.1",
// "sqlite3" -> "5.0.9"
// ),
// stIgnore := List(
// "sqlite3"
// )
// )


lazy val site = project.in(file("site"))
Expand Down

0 comments on commit 507c66c

Please sign in to comment.