Merge pull request #5689 from eatkins/parallel-stamping

Stamp source files in parallel
This commit is contained in:
Ethan Atkins 2020-07-19 21:41:44 -07:00 committed by GitHub
commit 8bd43a9fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -289,10 +289,10 @@ private[sbt] object Settings {
}
val filter =
(fileInputIncludeFilter in scope).value && !(fileInputExcludeFilter in scope).value
(Keys.allInputPathsAndAttributes in scope).value.flatMap {
(Keys.allInputPathsAndAttributes in scope).value.par.flatMap {
case (path, a) if filter.accept(path, a) => stampFile(path)
case _ => None
}
}.toVector
})
}