Skip to content

Commit

Permalink
Fix build.sbt more
Browse files Browse the repository at this point in the history
  • Loading branch information
Billzabob committed Jun 8, 2020
1 parent 48cb406 commit c20e9fe
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ lazy val core = crossProject(JSPlatform, JVMPlatform)
name := "fordeckmacia",
crossScalaVersions := List(scalaVersion.value, "2.12.11"),
)
.jvmSettings(
publish / skip := Option(System.getenv("SCALAJS_VERSION")).isDefined
)
.jvmSettings(publish / skip := Option(System.getenv("SCALAJS_VERSION")).isDefined)
.jsSettings(scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule)))

lazy val docs = project
.in(file("fordeckmacia-docs"))
Expand All @@ -32,13 +31,12 @@ lazy val commonSettings = Seq(
organization := "com.github",
scalaVersion := "2.13.2",
libraryDependencies ++= Seq(
"org.scodec" %%% "scodec-core" % "1.11.7",
"org.scodec" %%% "scodec-bits" % "1.1.15",
"org.scalameta" %%% "munit" % "0.7.8" % Test,
"org.scalameta" %%% "munit-scalacheck" % "0.7.8" % Test
"org.scodec" %%% "scodec-core" % "1.11.7",
"org.scodec" %%% "scodec-bits" % "1.1.15",
"org.scalameta" %%% "munit" % "0.7.8" % Test,
"org.scalameta" %%% "munit-scalacheck" % "0.7.8" % Test
),
testFrameworks += new TestFramework("munit.Framework"),
scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule))
testFrameworks += new TestFramework("munit.Framework")
)

lazy val releaseSettings = Seq(
Expand Down

0 comments on commit c20e9fe

Please sign in to comment.