summaryrefslogtreecommitdiff
path: root/examples/crossBuilds/simple/build.sbt
diff options
context:
space:
mode:
authorLi Haoyi <haoyi@dropbox.com>2015-02-04 09:03:02 -0800
committerLi Haoyi <haoyi@dropbox.com>2015-02-04 09:03:02 -0800
commitfd2f23fbfb8ce6501fff20ea1c305d00249fb465 (patch)
tree87ae6a5e66096e988dbfb0bfad0f59b32bc84ce4 /examples/crossBuilds/simple/build.sbt
parent3e92267b4f030f7bc7f0040fef50bd07e4709b21 (diff)
downloadhands-on-scala-js-fd2f23fbfb8ce6501fff20ea1c305d00249fb465.tar.gz
hands-on-scala-js-fd2f23fbfb8ce6501fff20ea1c305d00249fb465.tar.bz2
hands-on-scala-js-fd2f23fbfb8ce6501fff20ea1c305d00249fb465.zip
Updated cross-publishing-libraries section
Diffstat (limited to 'examples/crossBuilds/simple/build.sbt')
-rw-r--r--examples/crossBuilds/simple/build.sbt9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/crossBuilds/simple/build.sbt b/examples/crossBuilds/simple/build.sbt
index eb22c41..609989e 100644
--- a/examples/crossBuilds/simple/build.sbt
+++ b/examples/crossBuilds/simple/build.sbt
@@ -1,12 +1,13 @@
-val cross = crossProject.settings(
- // Shared settings here
+val library = crossProject.settings(
+ libraryDependencies += "com.lihaoyi" %%% "utest" % "0.3.0",
+ testFrameworks += new TestFramework("utest.runner.Framework")
).jsSettings(
// JS-specific settings here
).jvmSettings(
// JVM-specific settings here
)
-lazy val js = cross.js
+lazy val js = library.js
-lazy val jvm = cross.jvm
+lazy val jvm = library.jvm