From b4b093f631139a405f5f7c564f530119db400f94 Mon Sep 17 00:00:00 2001 From: Naftoli Gugenheim Date: Fri, 8 Jul 2016 17:25:32 -0400 Subject: [PATCH] 0.3.2: cross-publish slick-additions-entity for scalajs --- build.sbt | 10 +++++++--- project/scalajs.sbt | 1 + version.sbt | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 project/scalajs.sbt diff --git a/build.sbt b/build.sbt index 09de64e..2dc1cb1 100644 --- a/build.sbt +++ b/build.sbt @@ -8,12 +8,16 @@ val settings = Seq( ) -lazy val `slick-additions-entity` = project.settings(settings) +lazy val `slick-additions-entity` = + crossProject.crossType(CrossType.Pure) + .settings(settings: _*) +lazy val `slick-additions-entity-jvm` = `slick-additions-entity`.jvm +lazy val `slick-additions-entity-js` = `slick-additions-entity`.js lazy val `slick-additions` = (project in file(".")) - .dependsOn(`slick-additions-entity`) - .aggregate(`slick-additions-entity`) + .dependsOn(`slick-additions-entity-jvm`) + .aggregate(`slick-additions-entity-jvm`, `slick-additions-entity-js`) .settings(settings) .settings( libraryDependencies ++= Seq( diff --git a/project/scalajs.sbt b/project/scalajs.sbt new file mode 100644 index 0000000..3c60803 --- /dev/null +++ b/project/scalajs.sbt @@ -0,0 +1 @@ +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.10") diff --git a/version.sbt b/version.sbt index b7ce1e6..8ed576b 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.3.2-RC1" +version in ThisBuild := "0.3.2"