aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-02-06 17:18:26 +0100
committerFelix Mulder <felix.mulder@gmail.com>2017-02-13 10:53:45 +0100
commit3f06fe9cc2debaacbb889e33c7339457fc5355cd (patch)
treea9d67a74543e17de42cff6f75cd57020000487f8 /project
parent8bdc91f7a5fc3efd93b6be255ec1bfb83787c69b (diff)
downloaddotty-3f06fe9cc2debaacbb889e33c7339457fc5355cd.tar.gz
dotty-3f06fe9cc2debaacbb889e33c7339457fc5355cd.tar.bz2
dotty-3f06fe9cc2debaacbb889e33c7339457fc5355cd.zip
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
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala18
1 files changed, 18 insertions, 0 deletions
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