mirror of https://github.com/sbt/sbt.git
control incremental compiler debugging with xsbt.inc.debug system property
This commit is contained in:
parent
98cd577e1d
commit
d3f02f7c80
|
|
@ -11,7 +11,7 @@ import java.io.File
|
|||
|
||||
object Incremental
|
||||
{
|
||||
def println(s: String) = ()
|
||||
def println(s: String) = if(java.lang.Boolean.getBoolean("xsbt.inc.debug")) System.out.println(s) else ()
|
||||
def compile(sources: Set[File], previous: Analysis, current: ReadStamps, externalAPI: String => Source, doCompile: Set[File] => Analysis)(implicit equivS: Equiv[Stamp]): Analysis =
|
||||
{
|
||||
val initialChanges = changedInitial(sources, previous.stamps, previous.apis, current, externalAPI)
|
||||
|
|
|
|||
Loading…
Reference in New Issue