summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorLi Haoyi <haoyi@dropbox.com>2014-11-02 04:57:37 -0800
committerLi Haoyi <haoyi@dropbox.com>2014-11-02 04:57:37 -0800
commita33254276bd211bf33be86eeb871ddbfe36fdb47 (patch)
treeb257d473be4fa110f7846f372ea94fc6714dad90 /build.sbt
parentd00a2e25a9ee527fa39feb04c3137715501e9fda (diff)
downloadhands-on-scala-js-a33254276bd211bf33be86eeb871ddbfe36fdb47.tar.gz
hands-on-scala-js-a33254276bd211bf33be86eeb871ddbfe36fdb47.tar.bz2
hands-on-scala-js-a33254276bd211bf33be86eeb871ddbfe36fdb47.zip
Moved `examples` into `examples/demos`, sketched out a simple example cross-module
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.sbt b/build.sbt
index d7994be..5aacd9a 100644
--- a/build.sbt
+++ b/build.sbt
@@ -37,11 +37,11 @@ lazy val book = Project(
"org.eclipse.jgit" % "org.eclipse.jgit" % "3.5.1.201410131835-r"
),
(resources in Compile) += {
- (fastOptJS in (examples, Compile)).value
- (artifactPath in (examples, Compile, fastOptJS)).value
+ (fastOptJS in (demos, Compile)).value
+ (artifactPath in (demos, Compile, fastOptJS)).value
},
(unmanagedResourceDirectories in Compile) ++=
- (unmanagedResourceDirectories in (examples, Compile)).value,
+ (unmanagedResourceDirectories in (demos, Compile)).value,
scalacOptions in Compile ++= {
val jar = (Keys.`package` in (scalatexPlugin, Compile)).value
val addPlugin = "-Xplugin:" + jar.getAbsolutePath
@@ -59,4 +59,4 @@ lazy val book = Project(
}
)
-lazy val examples = project.in(file("examples")) \ No newline at end of file
+lazy val demos = project.in(file("examples/demos")) \ No newline at end of file