From 540ab7e470d9c29d43dc5624a4f57f15ad3c9ec0 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Mon, 27 Sep 2010 18:41:34 -0400 Subject: [PATCH] show detected API when debugging incremental --- compile/inc/Incremental.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile/inc/Incremental.scala b/compile/inc/Incremental.scala index e84deddea..269140fd4 100644 --- a/compile/inc/Incremental.scala +++ b/compile/inc/Incremental.scala @@ -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 )