SelectiveExecutionModule

mill.util.SelectiveExecutionModule

Mill Module to support selective test execution in large projects.

Read more about it at: https://mill-build.org/mill/large/selective-execution.html

Attributes

Source
SelectiveExecutionModule.scala
Graph
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

object moduleInternal extends Internal

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Attributes

Inherited from:
Module
Source
Module.scala
Supertypes
class Internal
class Object
trait Matchable
class Any

Value members

Concrete methods

def prepare(evaluator: Evaluator, tasks: String*): Command[Unit]

Run to store a baseline snapshot of the Mill task inputs or implementations necessary to run tasks, to be later compared against metadata computed after a code change to determine which tasks were affected and need to be re-run

Run to store a baseline snapshot of the Mill task inputs or implementations necessary to run tasks, to be later compared against metadata computed after a code change to determine which tasks were affected and need to be re-run

Attributes

Source
SelectiveExecutionModule.scala
def resolve(evaluator: Evaluator, tasks: String*): Command[Array[String]]

Run after prepare, prints out the tasks in tasks that are affected by any changes to the task inputs or task implementations since prepare was run. Effectively a dry-run version of run that lets you show the tasks that would be run without actually running them

Run after prepare, prints out the tasks in tasks that are affected by any changes to the task inputs or task implementations since prepare was run. Effectively a dry-run version of run that lets you show the tasks that would be run without actually running them

Attributes

Source
SelectiveExecutionModule.scala
def resolveChanged(evaluator: Evaluator, tasks: String*): Command[Seq[String]]

Similar to resolve, but prints the changed upstream tasks rather than the selected downstream tasks.

Similar to resolve, but prints the changed upstream tasks rather than the selected downstream tasks.

Attributes

Source
SelectiveExecutionModule.scala
def resolveTree(evaluator: Evaluator, tasks: String*): Command[Value]

Similar to resolve, but prints the output as a JSON tree so you can see the chain of dependencies that caused each selectively resolved task to be resolved from some upstream changed input

Similar to resolve, but prints the output as a JSON tree so you can see the chain of dependencies that caused each selectively resolved task to be resolved from some upstream changed input

Attributes

Source
SelectiveExecutionModule.scala
def run(evaluator: Evaluator, tasks: String*): Command[Unit]

Run after prepare, selectively executes the tasks in tasks that are affected by any changes to the task inputs or task implementations since prepare was run

Run after prepare, selectively executes the tasks in tasks that are affected by any changes to the task inputs or task implementations since prepare was run

Attributes

Source
SelectiveExecutionModule.scala

Inherited methods

Attributes

Inherited from:
BaseClass
Source
Module.scala
def moduleDir: Path

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Module -> Any
Inherited from:
Module
Source
Module.scala