Skip to content

Commit bece01e

Browse files
authored
Merge pull request #10400 from fgoret/patch-1
Dotty doc "Getting Started" update
2 parents fb1c3c0 + 3286e5f commit bece01e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/docs/contributing/getting-started.md

+13
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,19 @@ or via bash:
6464
```bash
6565
$ scala
6666
```
67+
Publish to local repository
68+
---------------------------------
69+
To test our cloned compiler on local projects:
70+
71+
```bash
72+
$ sbt publishLocal
73+
```
74+
Then in the `build.sbt` file of a test project:
75+
76+
```bash
77+
ThisBuild / scalaVersion := "<dotty-version>-bin-SNAPSHOT"
78+
```
79+
where `dotty-version` can be found in the file `project/Build.scala`, like `3.0.0-M2`
6780

6881

6982
Generating Documentation

0 commit comments

Comments
 (0)