From 3f06fe9cc2debaacbb889e33c7339457fc5355cd Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Mon, 6 Feb 2017 17:18:26 +0100 Subject: Add initial steps to dotty-bot This PR will add a bot whose first purpose is to check the CLA of contributing PRs. It improves on the old bot in that it checks each commit individually, and doesn't get upset about 100+ commits. It would be fun to do this PR with you @OlivierBlanvillain, feel free to provide feedback/comments and refactor as you like --- project/Build.scala | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'project') diff --git a/project/Build.scala b/project/Build.scala index 96ee7cdf7..242223ba2 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -168,6 +168,24 @@ object DottyBuild extends Build { ). settings(publishing) + lazy val `dotty-bot` = project.in(file("bot")). + settings(sourceStructure). + settings( + libraryDependencies ++= { + val github4sVersion = "0.9.0" + val http4sVersion = "0.15.3" + Seq( + "io.circe" %% "circe-generic" % "0.6.1", + "ch.qos.logback" % "logback-classic" % "1.1.7", + "com.fortysevendeg" %% "github4s" % "0.10.0", + "org.http4s" %% "http4s-dsl" % http4sVersion, + "org.http4s" %% "http4s-blaze-server" % http4sVersion, + "org.http4s" %% "http4s-blaze-client" % http4sVersion, + "org.http4s" %% "http4s-circe" % http4sVersion + ) + } + ) + // Settings shared between dotty-compiler and dotty-compiler-bootstrapped lazy val dottyCompilerSettings = Seq( // set system in/out for repl -- cgit v1.2.3