aboutsummaryrefslogtreecommitdiffstats
path: root/scalding/build.sbt
diff options
context:
space:
mode:
authorEllen Spertus <ellen.spertus@gmail.com>2018-08-14 20:38:29 -0700
committerEllen Spertus <ellen.spertus@gmail.com>2018-08-14 20:38:29 -0700
commit3ff30c8f20d36f8e47ec5478c10c3348d2f45fa6 (patch)
tree89606d2ce1b45856d6cb7222d40e6400ee958478 /scalding/build.sbt
parent548b94e80f9920f092d218137bca067dd1b8671b (diff)
downloadsandcrawler-3ff30c8f20d36f8e47ec5478c10c3348d2f45fa6.tar.gz
sandcrawler-3ff30c8f20d36f8e47ec5478c10c3348d2f45fa6.zip
Fixed style problems (or disabled warning when appropriate) for tests.
Diffstat (limited to 'scalding/build.sbt')
-rw-r--r--scalding/build.sbt7
1 files changed, 7 insertions, 0 deletions
diff --git a/scalding/build.sbt b/scalding/build.sbt
index 2addd60..d477399 100644
--- a/scalding/build.sbt
+++ b/scalding/build.sbt
@@ -20,6 +20,13 @@ lazy val root = (project in file(".")).
scalaSourceFiles.filterNot(_.getAbsolutePath.contains(dirNameToExclude))
},
+ (scalastyleSources in Test) := {
+ // all .scala files in "src/test/scala"
+ val scalaSourceFiles = ((scalaSource in Test).value ** "*.scala").get
+ val dirNameToExclude = "/example/"
+ scalaSourceFiles.filterNot(_.getAbsolutePath.contains(dirNameToExclude))
+ },
+
name := "sandcrawler",
resolvers += "conjars.org" at "http://conjars.org/repo",