@Scaladoc(value = "/**\n * Mill Module to support selective test execution in large projects.\n *\n * Read more about it at: https://mill-build.org/mill/large/selective-execution.html\n *\n * Here are the essential commands:\n *\n * - `mill selective.prepare
`:\n * run on the codebase before the code change,\n * stores a snapshot of task inputs and implementations\n *\n * - `mill selective.run
`:\n * run on the codebase after the code change,\n * runs tasks in the given `
` which are affected by the code changes\n * that have happened since `selective.prepare` was run\n *\n * - `mill selective.resolve
`:\n * a dry-run version of `selective.run`,\n * prints out the tasks in `
`` that are affected by the code changes\n * and would have run, without actually running them.\n */")
mill selective.prepare <selector>: run on the codebase before the code change, stores a snapshot of task inputs and implementations
mill selective.run <selector>: run on the codebase after the code change, runs tasks in the given <selector> which are affected by the code changes that have happened since selective.prepare was run
mill selective.resolve <selector>: a dry-run version of selective.run, prints out the tasks in `
`` that are affected by the code changes and would have run, without actually running them.
@Scaladoc(value = "/**\n * Miscellaneous machinery around traversing & querying the build hierarchy,\n * that should not be needed by normal users of Mill\n */")
@Scaladoc(value = "/**\n * Run to store a baseline snapshot of the Mill task inputs or implementations\n * necessary to run [[tasks]], to be later compared against metadata computed\n * after a code change to determine which tasks were affected and need to be re-run\n */")
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
@Scaladoc(value = "/**\n * Run after [[prepare]], prints out the tasks in [[tasks]] that are affected by\n * any changes to the task inputs or task implementations since [[prepare]]\n * was run. Effectively a dry-run version of [[run]] that lets you show the tasks\n * that would be run without actually running them\n */")
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
@Scaladoc(value = "/**\n * Similar to [[resolve]], but prints the output as a JSON tree so you can see\n * the chain of dependencies that caused each selectively resolved task to be\n * resolved from some upstream changed input\n */")
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
@Scaladoc(value = "/**\n * Run after [[prepare]], selectively executes the tasks in [[tasks]] that are\n * affected by any changes to the task inputs or task implementations since [[prepare]]\n * was run\n */")
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