Dotty Community Build
This repository contains tests to build a corpus of Scala open sources projects against the latest changes in Dotty.
To run the community build on a local machine, clone the repo and execute ./run.sh
.
The tests will by default run against the latest NIGHTLY build of dotty.
To customize the dotty version, set the environment variable export DOTTY_VERSION=X.Y.Z
.
Adding a new project
To add a new project ORG/REPO
to the community build you can follow this steps:
- Fork
ORG/REPO
todotty-staging/REPO
- Clone
dotty-staging/REPO
, create a branchdotty
and push thedotty
branch - Open
dotty-staging/REPO
on Github. Go toSettings > Branches
. Change the default branch todotty
- Go to https://travis-ci.org/profile/dotty-staging and enable that repo. You may need to click on
Sync account
and reload to see the newly forked repo - Fork the
dotty-staging/REPO
to your personal github account - Edit the build to use
sbt-dotty
and fix all the compilation errors. Example PRs: - Once the project complies with dotty, copy the
.travis.yml
file from here and adjust the compile task. It's OK to only compile the project to begin with, not run any tests. - Open PR to merge your changes into the
dotty
branch of htedotty-staging/REPO
- Once PR is merged into
dotty-staging/REPO
, open a PR tolampepfl/dotty-community-build
adding the newdotty-staging/REPO
to the community build. Example PR: lampepfl#3