Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 970 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 970 Bytes

Example sbt project that compiles using Dotty

Requirements

Until artifacts are published, you'll need to compile Dotty yourself:

git clone https://github.com/lampepfl/dotty.git
cd dotty
sbt publishLocal

Usage

This is a normal sbt project, you can compile code with sbt compile and run it with sbt run, sbt console will start a Dotty REPL.

If compiling this example project fails, you probably have a global sbt plugin that does not work with dotty, try to disable all plugins in ~/.sbt/0.13/plugins and ~/.sbt/0.13.

Using Dotty in your own project

  1. Use sbt 0.13.11 (other versions are not supported).
  2. Configure your build like explained in build.sbt

Discuss

Feel free to come chat with us on the Dotty gitter!