aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2016-06-14 21:13:02 -0400
committerGitHub <noreply@github.com>2016-06-14 21:13:02 -0400
commite02df8c99b9c8fa5dac3ab724a90cb138ba7dc0b (patch)
treec754e73fa8ac7f7363dd5a66521e17ef1dbab03d /README.md
parentb69826c7bc44573f01366ef472a59def6e4f1fc5 (diff)
parent59c9e1e4bfc45f843f89da22e0190d19403b4dc6 (diff)
downloadcbt-e02df8c99b9c8fa5dac3ab724a90cb138ba7dc0b.tar.gz
cbt-e02df8c99b9c8fa5dac3ab724a90cb138ba7dc0b.tar.bz2
cbt-e02df8c99b9c8fa5dac3ab724a90cb138ba7dc0b.zip
Merge pull request #144 from katrinsharp/master
scalajs cross project support as plugin
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
index b2df2b7..94b52a8 100644
--- a/README.md
+++ b/README.md
@@ -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
---------------------------------------