Skip to content

Commit

Permalink
Compile with Dotty!
Browse files Browse the repository at this point in the history
- first run ExplicitImplicit scalafix rewrite
- setup sbt-dotty
  • Loading branch information
olafurpg committed May 2, 2017
1 parent 3c3c813 commit 992a27a
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 32 deletions.
1 change: 1 addition & 0 deletions .scalafix.conf
@@ -0,0 +1 @@
rewrites = [ExplicitImplicit]
6 changes: 3 additions & 3 deletions build.sbt
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
@@ -1 +1 @@
sbt.version=0.13.13
sbt.version=0.13.15
2 changes: 2 additions & 0 deletions project/dotty.sbt
@@ -0,0 +1,2 @@
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.3.2")
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.1.0-RC4")

0 comments on commit 992a27a

Please sign in to comment.