Skip to content

Commit

Permalink
Merge pull request #99 from irumiha/master
Browse files Browse the repository at this point in the history
Recursively search for DSL files
  • Loading branch information
zapov authored May 8, 2018
2 parents 6372bf5 + dfd1b5c commit 621a4f6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,11 @@ object SbtDslPlatformPlugin extends AutoPlugin {
val dslPathFiles = dslDslPath
.value
.filter(_.exists())
.flatMap(_.listFiles().filter(it => it.getPath.endsWith(".dsl") || it.getPath.endsWith(".ddd")))
.flatMap{ p =>
io.PathFinder(p)
.globRecursive("*").get
.filter(it => it.getPath.endsWith(".dsl") || it.getPath.endsWith(".ddd"))
}
.toSet
logger.info(s"Found ${dslPathFiles.size} DSL files")

Expand Down

0 comments on commit 621a4f6

Please sign in to comment.