mirror of https://github.com/sbt/sbt.git
show detected API when debugging incremental
This commit is contained in:
parent
484c2ca3a5
commit
540ab7e470
|
|
@ -50,7 +50,7 @@ object Incremental
|
|||
{
|
||||
val oldApis = lastSources map oldAPI
|
||||
val newApis = lastSources map newAPI
|
||||
|
||||
for(api <- newApis; definition <- api.definitions) { println(xsbt.api.DefaultShowAPI(definition)) }
|
||||
val changes = (lastSources, oldApis, newApis).zipped.filter { (src, oldApi, newApi) => !SameAPI(oldApi, newApi) }
|
||||
|
||||
val changedNames = TopLevel.nameChanges(changes._3, changes._2 )
|
||||
|
|
|
|||
Loading…
Reference in New Issue