Permalink
Browse files

Compile with Dotty!

- first run ExplicitImplicit scalafix rewrite
- setup sbt-dotty
  • Loading branch information...
olafurpg committed May 2, 2017
1 parent 3c3c813 commit 992a27ac6bf50f17664a144c5a53cc231184f18a
Showing with 35 additions and 32 deletions.
  1. +1 −0 .scalafix.conf
  2. +3 −3 build.sbt
  3. +1 −1 project/build.properties
  4. +2 −0 project/dotty.sbt
  5. +28 −28 shared/src/main/scala/linx/Linx.scala
@@ -0,0 +1 @@
rewrites = [ExplicitImplicit]
@@ -1,8 +1,8 @@
import com.typesafe.sbt.pgp.PgpKeys
crossScalaVersions := Seq("2.12.1", "2.11.8", "2.10.6")
scalaVersion := crossScalaVersions.value.head
scalacOptions ++= Seq("-feature", "-deprecation", "-encoding", "utf-8")
crossScalaVersions := Seq(dottyLatestNightlyBuild.get, "2.12.1", "2.11.8", "2.10.6")
scalaVersion in ThisBuild := crossScalaVersions.value.head
scalacOptions ++= Seq("-feature", "-deprecation", "-encoding", "utf-8")
//apologies for this hack, it was the only way i could make publishing work for now
isSnapshot in ThisBuild := true
@@ -1 +1 @@
sbt.version=0.13.13
sbt.version=0.13.15
@@ -0,0 +1,2 @@
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.3.2")
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.1.0-RC4")
Oops, something went wrong.

0 comments on commit 992a27a

Please sign in to comment.