mirror of https://github.com/sbt/sbt.git
Disable aggregation for `run-main` by default
This commit is contained in:
parent
130402b238
commit
495e7c6f62
|
|
@ -727,7 +727,7 @@ object Defaults extends BuildCommon
|
|||
|
||||
val CompletionsID = "completions"
|
||||
|
||||
def noAggregation: Seq[Scoped] = Seq(run, console, consoleQuick, consoleProject)
|
||||
def noAggregation: Seq[Scoped] = Seq(run, runMain, console, consoleQuick, consoleProject)
|
||||
lazy val disableAggregation = noAggregation map disableAggregate
|
||||
def disableAggregate(k: Scoped) =
|
||||
aggregate in Scope.GlobalScope.copy(task = Select(k.key)) :== false
|
||||
|
|
|
|||
Loading…
Reference in New Issue