aboutsummaryrefslogtreecommitdiffstats
path: root/scalding
diff options
context:
space:
mode:
Diffstat (limited to 'scalding')
-rw-r--r--scalding/build.sbt8
1 files changed, 8 insertions, 0 deletions
diff --git a/scalding/build.sbt b/scalding/build.sbt
index f333111..cc21444 100644
--- a/scalding/build.sbt
+++ b/scalding/build.sbt
@@ -13,6 +13,13 @@ lazy val root = (project in file(".")).
test in assembly := {},
)),
+ (scalastyleSources in Compile) := {
+ // all .scala files in "src/main/scala"
+ val scalaSourceFiles = ((scalaSource in Compile).value ** "*.scala").get
+ val dirNameToExclude = "example"
+ scalaSourceFiles.filterNot(_.getAbsolutePath.contains(dirNameToExclude))
+ },
+
name := "sandcrawler",
resolvers += "conjars.org" at "http://conjars.org/repo",
@@ -47,4 +54,5 @@ lazy val root = (project in file(".")).
case s if s.endsWith("xml") => MergeStrategy.last
case x => (assemblyMergeStrategy in assembly).value(x)
},
+
)