mirror of https://github.com/sbt/sbt.git
Merge pull request #5689 from eatkins/parallel-stamping
Stamp source files in parallel
This commit is contained in:
commit
8bd43a9fa3
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue