summaryrefslogtreecommitdiff
path: root/examples/crossBuilds/clientserver/build.sbt
diff options
context:
space:
mode:
authorLi Haoyi <haoyi@dropbox.com>2014-11-10 20:49:32 -0800
committerLi Haoyi <haoyi@dropbox.com>2014-11-10 20:49:32 -0800
commit916476a310661a0b81011e0af429f356d5cd36e7 (patch)
treeae0515e87b30681dd291bd78276a8f2edb6e1a4e /examples/crossBuilds/clientserver/build.sbt
parentaaea4afbf3b47d623f396cb1eae247fa92053032 (diff)
downloadhands-on-scala-js-916476a310661a0b81011e0af429f356d5cd36e7.tar.gz
hands-on-scala-js-916476a310661a0b81011e0af429f356d5cd36e7.tar.bz2
hands-on-scala-js-916476a310661a0b81011e0af429f356d5cd36e7.zip
Small cleanup, book is now acyclic
Diffstat (limited to 'examples/crossBuilds/clientserver/build.sbt')
-rw-r--r--examples/crossBuilds/clientserver/build.sbt9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/crossBuilds/clientserver/build.sbt b/examples/crossBuilds/clientserver/build.sbt
index 618ac8a..457c5b1 100644
--- a/examples/crossBuilds/clientserver/build.sbt
+++ b/examples/crossBuilds/clientserver/build.sbt
@@ -7,7 +7,8 @@ val sharedSettings = Seq(
libraryDependencies ++= Seq(
"com.scalatags" %%% "scalatags" % "0.4.2",
"com.lihaoyi" %%% "upickle" % "0.2.5"
- )
+ ),
+ scalaVersion := "2.11.4"
)
lazy val client = project.in(file("client"))
@@ -21,6 +22,8 @@ lazy val client = project.in(file("client"))
lazy val server = project.in(file("server"))
.settings(sharedSettings:_*)
+ .settings(com.lihaoyi.workbench.Plugin.workbenchSettings:_*)
+ .settings(spray.revolver.RevolverPlugin.Revolver.settings:_*)
.settings(
libraryDependencies ++= Seq(
"io.spray" %% "spray-can" % "1.3.2",
@@ -30,5 +33,7 @@ lazy val server = project.in(file("server"))
(resources in Compile) += {
(fastOptJS in (client, Compile)).value
(artifactPath in (client, Compile, fastOptJS)).value
- }
+ },
+ bootSnippet := "",
)
+