From 17f29013f960fdaf0e9d01ac8f128b05f327c95b Mon Sep 17 00:00:00 2001 From: Ellen Spertus Date: Tue, 17 Jul 2018 14:48:27 -0700 Subject: Eliminated example directories --- scalding/build.sbt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scalding/build.sbt') 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) }, + ) -- cgit v1.2.3