From ba991d95330631c45e6a97b28f66fc4cd4e3c0fc Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Fri, 21 Jul 2017 15:46:51 -0400 Subject: [PATCH] add scalastyle & scalafmt --- configs/community.dbuild | 10 ++++++++++ configs/project-refs.conf | 2 ++ 2 files changed, 12 insertions(+) diff --git a/configs/community.dbuild b/configs/community.dbuild index 174e2d213..a22154f37 100644 --- a/configs/community.dbuild +++ b/configs/community.dbuild @@ -1194,4 +1194,14 @@ build += { extra.test-tasks: ["compile"] } + ${vars.base} { + name: "scalafmt" + uri: ${vars.uris.scalafmt-uri} + } + + ${vars.base} { + name: "scalastyle" + uri: ${vars.uris.scalastyle-uri} + } + ]} diff --git a/configs/project-refs.conf b/configs/project-refs.conf index df2068adb..c5e117690 100644 --- a/configs/project-refs.conf +++ b/configs/project-refs.conf @@ -77,6 +77,7 @@ vars.uris: { scala-swing-uri: "https://github.com/scala/scala-swing.git#2.0.x" scalacheck-uri: "https://github.com/rickynils/scalacheck.git#9b71bb3dfe186c03292faa59976487af2ee23caa" scalafix-uri: "https://github.com/scalacommunitybuild/scalafix.git#community-build-2.12" + scalafmt-uri: "https://github.com/scalameta/scalafmt.git" scalaj-http-uri: "https://github.com/scalaj/scalaj-http.git" scalameta-uri: "https://github.com/scalacommunitybuild/scalameta.git#community-build-2.12" scalameter-uri: "https://github.com/scalameter/scalameter.git" @@ -85,6 +86,7 @@ vars.uris: { scalapb-uri: "https://github.com/scalapb/ScalaPB.git#268318c" # was master scalaprops-uri: "https://github.com/scalaprops/scalaprops.git" scalariform-uri: "https://github.com/scala-ide/scalariform.git" + scalastyle-uri: "https://github.com/scalastyle/scalastyle.git" scalatags-uri: "https://github.com/lihaoyi/scalatags.git" scalatest-uri: "https://github.com/scalatest/scalatest.git#3.0.x" scalatex-uri: "https://github.com/lihaoyi/scalatex.git"