Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make dslSources allow both folders and standalone .dsl and .ddd files #102

merged 1 commit into from Feb 16, 2019
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+2 −8
Diff settings


Just for now

Make dslSources allow both folders and standalone .dsl and .ddd files

  • Loading branch information...
melezov committed Feb 16, 2019
commit 886a3694101209411efc15ce3cbea5dd69840549
@@ -153,16 +153,10 @@ object SbtDslPlatformPlugin extends AutoPlugin {

def recursiveListFiles(f: File): Array[File] = {
val files = f.listFiles
files.filter(it => it.getName.endsWith(".dsl") || it.getName.endsWith(".ddd")) ++
// Index only *.dsl files
// Index only *.dsl and *.ddd files
val dslPathFiles = dslDslPath
.flatMap(path => (path ** ("*.dsl" || "*.ddd")).get)
.toSet"Found ${dslPathFiles.size} DSL files")
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.