allanrenucci / dotty-community-build

Dotty Community Build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotty Community Build

Community Build Status

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:

  1. Fork ORG/REPO to dotty-staging/REPO
  2. Clone dotty-staging/REPO, create a branch dotty and push the dotty branch
  3. Open dotty-staging/REPO on Github. Go to Settings > Branches. Change the default branch to dotty
  4. 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
  5. Fork the dotty-staging/REPO to your personal github account
  6. Edit the build to use sbt-dotty and fix all the compilation errors. Example PRs:
  7. 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.
  8. Open PR to merge your changes into the dotty branch of hte dotty-staging/REPO
  9. Once PR is merged into dotty-staging/REPO, open a PR to lampepfl/dotty-community-build adding the new dotty-staging/REPO to the community build. Example PR: lampepfl#3

About

Dotty Community Build

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Scala 97.2%Language:Shell 2.8%