diff options
author | Ellen Spertus <ellen.spertus@gmail.com> | 2018-07-17 14:48:27 -0700 |
---|---|---|
committer | Ellen Spertus <ellen.spertus@gmail.com> | 2018-07-17 14:48:27 -0700 |
commit | 17f29013f960fdaf0e9d01ac8f128b05f327c95b (patch) | |
tree | 16e6d4f268dfc329b84db5eee0de5bde76d58973 | |
parent | 258abaf0f74c07b0de59c95d77f614a6d28447eb (diff) | |
download | sandcrawler-17f29013f960fdaf0e9d01ac8f128b05f327c95b.tar.gz sandcrawler-17f29013f960fdaf0e9d01ac8f128b05f327c95b.zip |
Eliminated example directories
-rw-r--r-- | scalding/build.sbt | 8 |
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) }, + ) |