diff options
author | Katrin Shechtman <katrin.shechtman@gmail.com> | 2016-06-13 01:23:45 -0400 |
---|---|---|
committer | Katrin Shechtman <katrin.shechtman@gmail.com> | 2016-06-13 11:48:05 -0400 |
commit | 59c9e1e4bfc45f843f89da22e0190d19403b4dc6 (patch) | |
tree | c754e73fa8ac7f7363dd5a66521e17ef1dbab03d /README.md | |
parent | b69826c7bc44573f01366ef472a59def6e4f1fc5 (diff) | |
download | cbt-59c9e1e4bfc45f843f89da22e0190d19403b4dc6.tar.gz cbt-59c9e1e4bfc45f843f89da22e0190d19403b4dc6.tar.bz2 cbt-59c9e1e4bfc45f843f89da22e0190d19403b4dc6.zip |
scalajs cross project support as plugin
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -121,6 +121,29 @@ Build scripts also have access to a small unsurprising library for - packaging jars - signing / publishing to sonatype/maven +Scala.js support +---------------- + +CBT supports cross-project Scala.js build. +It preserves same structure as in SBT (https://www.scala-js.org/doc/project/cross-build.html) + + 1. Example for user scalajs project is in: `$CBT_HOME/cbt/examples/build-scalajs` + 2. `$CBT_HOME/cbt compile` + Will compile JVM and JS sources + `$CBT_HOME/cbt jsCompile` + Will compile JS sources + `$CBT_HOME/cbt jvmCompile` + Will compile JVM sources + 3. `$CBT_HOME/cbt fastOptJS` and `$CBT_HOME/cbt fullOptJS` + Same as in Scala.js sbt project + + Note: Scala.js support is under ongoing development. + + Currently missing features: + * No support for jsDependencies: + It means that all 3rd party dependencies should added manually, see scalajs build example + * No support for test + Missing features in comparison with SBT --------------------------------------- |