mirror of https://github.com/sbt/sbt.git
Add test file itself to the set to track compilation time.
This commit is contained in:
parent
e92ba43b3f
commit
efb9cde9f3
|
|
@ -332,7 +332,7 @@ object Defaults extends BuildCommon
|
|||
case Some(ts) =>
|
||||
import analysis.{relations => rel, apis}
|
||||
rel.definesClass(test) flatMap {
|
||||
f => (rel.internalSrcDeps(f) map apis.internal) ++ (rel.externalDeps(f) map apis.external)
|
||||
f => ((rel.internalSrcDeps(f) + f) map apis.internal) ++ (rel.externalDeps(f) map apis.external)
|
||||
} exists (_.compilation.startTime > ts)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue