mirror of https://github.com/sbt/sbt.git
fix printing sources
This commit is contained in:
parent
28f1eecbef
commit
f3de1d728c
|
|
@ -18,7 +18,6 @@ object IncrementalCompile
|
|||
}
|
||||
def doCompile(compile: (Set[File], xsbti.AnalysisCallback) => Unit, internalMap: File => Option[File], externalAPI: (File, String) => Option[Source], current: ReadStamps, outputPath: File) = (srcs: Set[File]) => {
|
||||
val callback = new AnalysisCallback(internalMap, externalAPI, current, outputPath)
|
||||
println("Compiling:\n\t" + srcs.mkString("\n\t"))
|
||||
compile(srcs, callback)
|
||||
callback.get
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ class AggressiveCompile(cacheDirectory: File)
|
|||
val compile0 = (include: Set[File], callback: AnalysisCallback) => {
|
||||
IO.createDirectory(outputDirectory)
|
||||
val incSrc = sources.filter(include)
|
||||
println("Compiling:\n\t" + incSrc.mkString("\n\t"))
|
||||
val arguments = cArgs(incSrc, classpath, outputDirectory, options.options)
|
||||
compiler.compile(arguments, callback, maxErrors, log)
|
||||
val javaSrcs = incSrc.filter(javaOnly)
|
||||
|
|
|
|||
Loading…
Reference in New Issue