Skip to content

Commit

Permalink
fix build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Apr 15, 2024
1 parent ef2124d commit 1cbaf5a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ jobs:
"+ Test/compile"
"+ msgpack4z-circeJVM/test"
"+ msgpack4z-circeJS/test"
"+ msgpack4z-circeNative/test"
29 changes: 11 additions & 18 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -171,26 +171,19 @@ lazy val msgpack4zCirce = CrossProject("msgpack4z-circe", file("."))(JVMPlatform
"com.github.xuwei-k" % "msgpack4z-java06" % "0.2.0" % "test",
),
)
.nativeSettings(
scalapropsNativeSettings,
)

val msgpack4zCirceNative = msgpack4zCirce.native
val msgpack4zCirceJS = msgpack4zCirce.js
val msgpack4zCirceJVM = msgpack4zCirce.jvm

val root = Project("root", file("."))
.settings(
commonSettings,
commands += Command.command("testSequential") {
List(msgpack4zCirceJVM, msgpack4zCirceJS).map(_.id + "/test") ::: _
},
PgpKeys.publishLocalSigned := {},
PgpKeys.publishSigned := {},
publishLocal := {},
publish := {},
Compile / publishArtifact := false,
Compile / scalaSource := (LocalRootProject / baseDirectory).value / "dummy",
Test / scalaSource := (LocalRootProject / baseDirectory).value / "dummy"
)
.aggregate(
msgpack4zCirceJS,
msgpack4zCirceJVM
)
commonSettings
PgpKeys.publishLocalSigned := {}
PgpKeys.publishSigned := {}
publishLocal := {}
publish := {}
Compile / publishArtifact := false
Compile / scalaSource := (LocalRootProject / baseDirectory).value / "dummy"
Test / scalaSource := (LocalRootProject / baseDirectory).value / "dummy"

0 comments on commit 1cbaf5a

Please sign in to comment.