mirror of https://github.com/sbt/sbt.git
Filter out dummy tasks from progress
I don't think that dummy tasks really make sense for task progress because they are evaluated outside of the normal task evaluation. This came up because I was seeing streams-manager in supershell which didn't seem useful.
This commit is contained in:
parent
f0bec6d9e3
commit
edd21b0ec8
|
|
@ -73,7 +73,7 @@ private[sbt] final class TaskProgress(log: ManagedLogger)
|
||||||
private[this] val skipReportTasks =
|
private[this] val skipReportTasks =
|
||||||
Set("run", "bgRun", "fgRun", "scala", "console", "consoleProject", "consoleQuick", "state")
|
Set("run", "bgRun", "fgRun", "scala", "console", "consoleProject", "consoleQuick", "state")
|
||||||
private[this] def report(): Unit = {
|
private[this] def report(): Unit = {
|
||||||
val currentTasks = activeTasks.toVector
|
val currentTasks = activeTasks.toVector.filterNot(Def.isDummy)
|
||||||
val ltc = lastTaskCount.get
|
val ltc = lastTaskCount.get
|
||||||
val currentTasksCount = currentTasks.size
|
val currentTasksCount = currentTasks.size
|
||||||
def report0(): Unit = {
|
def report0(): Unit = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue