aboutsummaryrefslogtreecommitdiff
path: root/docs/docs/usage/cbt-projects.md
blob: 1ae25efd5e81ec996f82ddf532e8c1f4d17d8e59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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).