diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2015-02-04 04:43:41 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2015-02-04 04:43:41 -0800 |
commit | 49cf861b0a4e351e56ba797541d43cb1da345741 (patch) | |
tree | 5b84193ecd9eefc05bd9f27b1766e833064182ae /book/src/main/scalatex/book/handson/PublishingModules.scalatex | |
parent | 2e9a726bfbea4a25183a2649e4e0b85519fe8e8a (diff) | |
parent | 33129113b3ebf3dd656bd58c34af476fb852e2f6 (diff) | |
download | hands-on-scala-js-49cf861b0a4e351e56ba797541d43cb1da345741.tar.gz hands-on-scala-js-49cf861b0a4e351e56ba797541d43cb1da345741.tar.bz2 hands-on-scala-js-49cf861b0a4e351e56ba797541d43cb1da345741.zip |
Merge pull request #19 from sjrd/scalajs-0.6
Upgrade and update the whole thing for Scala.js 0.6.0-RC2.
Diffstat (limited to 'book/src/main/scalatex/book/handson/PublishingModules.scalatex')
-rw-r--r-- | book/src/main/scalatex/book/handson/PublishingModules.scalatex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/main/scalatex/book/handson/PublishingModules.scalatex b/book/src/main/scalatex/book/handson/PublishingModules.scalatex index d2fb269..3cc89ff 100644 --- a/book/src/main/scalatex/book/handson/PublishingModules.scalatex +++ b/book/src/main/scalatex/book/handson/PublishingModules.scalatex @@ -40,7 +40,7 @@ @hl.ref(wd/'examples/'crossBuilds/'simple/"build.sbt") @p - Unlike the equivalent @code{build.sbt} files you saw in earlier chapters, this does not simply add @hl.scala{scalaJSSettings} to the root project. Rather, it sets up two projects: one in the @code{js/} folder and one in the @code{jvm/} folder, with the @code{js/} version getting the settings from the Scala.js plugin. To both of these, we add @code{shared/main/scala} to the list of source directories. This means that both projects will pick up the sources we symlinked between @code{js/shared/} and @code{jvm/shared/}. + Unlike the equivalent @code{build.sbt} files you saw in earlier chapters, this does not simply enable the @hl.scala{ScalaJSPlugin} to the root project. Rather, it sets up two projects: one in the @code{js/} folder and one in the @code{jvm/} folder, with the @code{js/} version getting the Scala.js plugin. To both of these, we add @code{shared/main/scala} to the list of source directories. This means that both projects will pick up the sources we symlinked between @code{js/shared/} and @code{jvm/shared/}. @sect{Source Files} @val simple = wd/'examples/'crossBuilds/'simple |