aboutsummaryrefslogtreecommitdiff
path: root/docs/docs
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2016-10-11 11:07:36 -0400
committerGitHub <noreply@github.com>2016-10-11 11:07:36 -0400
commit1358ad6a1a657e37bb270f7ceb60ab5846678552 (patch)
tree72b16f5d3cc15e397b844b827df88b547a3402ee /docs/docs
parentfb1dbba5e35d1fc7c00250f597b8c796d8c96eda (diff)
downloaddotty-1358ad6a1a657e37bb270f7ceb60ab5846678552.tar.gz
dotty-1358ad6a1a657e37bb270f7ceb60ab5846678552.tar.bz2
dotty-1358ad6a1a657e37bb270f7ceb60ab5846678552.zip
cbt dotty usage
Diffstat (limited to 'docs/docs')
-rw-r--r--docs/docs/usage/cbt-projects.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/docs/usage/cbt-projects.md b/docs/docs/usage/cbt-projects.md
new file mode 100644
index 000000000..1ae25efd5
--- /dev/null
+++ b/docs/docs/usage/cbt-projects.md
@@ -0,0 +1,19 @@
+---
+layout: default
+title: "cbt"
+---
+
+Using Dotty with cbt
+====================
+cbt comes with built-in dotty support. Follow the
+[cbt tutorial](https://github.com/cvogt/cbt/), then simply extend `Dotty` in the Build class.
+
+```scala
+// build/build.scala
+import cbt._
+class Build(val context: Context) extends Dotty{
+ ...
+}
+```
+
+Also see the [example project](https://github.com/cvogt/cbt/tree/master/examples/dotty-example).