Merge pull request #5085 from eatkins/supershell-blacklist

Add consoleQuick and state to super shell blacklist
This commit is contained in:
Ethan Atkins 2019-09-16 13:39:11 -07:00 committed by GitHub
commit ab2f3d6757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -117,9 +117,7 @@ private[sbt] object Continuous extends DeprecatedContinuous {
private[sbt] def continuousTask: Def.Initialize[InputTask[StateTransform]] =
Def.inputTask {
val (initialCount, commands) = continuousParser.parsed
new StateTransform(
runToTermination(state.value, commands, initialCount, isCommand = false)
)
new StateTransform(runToTermination(state.value, commands, initialCount, isCommand = false))
}
private[sbt] val dynamicInputs = taskKey[Option[mutable.Set[DynamicInput]]](

View File

@ -71,7 +71,7 @@ private[sbt] final class TaskProgress(log: ManagedLogger)
stop()
}
private[this] val skipReportTasks =
Set("run", "bgRun", "fgRun", "scala", "console", "consoleProject")
Set("run", "bgRun", "fgRun", "scala", "console", "consoleProject", "consoleQuick", "state")
private[this] def report(): Unit = {
val currentTasks = activeTasks.toVector
val ltc = lastTaskCount.get
@ -100,5 +100,5 @@ private[sbt] final class TaskProgress(log: ManagedLogger)
private[this] def containsSkipTasks(tasks: Vector[Task[_]]): Boolean =
tasks
.map(t => taskName(t))
.exists(n => skipReportTasks.exists(m => n.endsWith("/ " + m)))
.exists(n => skipReportTasks.exists(m => m == n || n.endsWith("/ " + m)))
}