package define
- Alphabetic
- Public
- Protected
Type Members
- abstract class BaseModule extends Module
- case class BasePath(value: Path) extends Product with Serializable
- case class Caller(value: Any) extends Product with Serializable
- class Command[+T] extends NamedTaskImpl[T]
- class Cross[T] extends Module
Models "cross-builds": sets of duplicate builds which differ only in the value of one or more "case" variables whose values are determined at runtime.
Models "cross-builds": sets of duplicate builds which differ only in the value of one or more "case" variables whose values are determined at runtime. Used via:
object foo extends Cross[FooModule]("bar", "baz", "qux") class FooModule(v: String) extends Module{ ... }
- Annotations
- @Scaladoc()
- case class Ctx(enclosing: String, lineNum: Int, segment: Segment, millSourcePath: Path, segments: Segments, external: Boolean, foreign: Option[Segments], fileName: String, enclosingCls: Class[_], crossInstances: Seq[AnyRef]) extends Product with Serializable
- Annotations
- @implicitNotFound()
- case class Discover[T](value: Map[Class[_], Seq[(Int, MainData[_, _])]]) extends Product with Serializable
- case class EnclosingClass(value: Class[_]) extends Product with Serializable
- abstract class ExternalModule extends BaseModule
- trait GraphNode[T] extends AnyRef
- class Input[T] extends NamedTaskImpl[T]
- class Module extends Cacher
Module
is a class meant to be extended bytrait
s *only*, in order to propagate the implicit parameters forward to the final concrete instantiation site so they can capture the enclosing/line information of the concrete instance.Module
is a class meant to be extended bytrait
s *only*, in order to propagate the implicit parameters forward to the final concrete instantiation site so they can capture the enclosing/line information of the concrete instance.- Annotations
- @Scaladoc()
- trait NamedTask[+T] extends Task[T]
- abstract class NamedTaskImpl[+T] extends Task[T] with NamedTask[T]
- class Persistent[+T] extends TargetImpl[T]
- class Router extends Macros
- case class ScriptNode(cls: String, inputs: Seq[ScriptNode]) extends GraphNode[ScriptNode] with Product with Serializable
- sealed trait Segment extends AnyRef
- case class Segments(value: Segment*) extends Product with Serializable
Models a path with the Mill build hierarchy, e.g.
Models a path with the Mill build hierarchy, e.g.
amm.util[2.11].test.compile
.-separated segments are Segment.Labels, while []-delimited segments are Segment.Crosss
- Annotations
- @Scaladoc()
- sealed trait SelectMode extends AnyRef
- class Source extends Input[PathRef]
- class Sources extends Input[Seq[PathRef]]
- trait Target[+T] extends Task[T] with NamedTask[T]
- class TargetImpl[+T] extends NamedTaskImpl[T] with Target[T]
- abstract class Task[+T] extends Ops[T] with Applyable[Task, T] with GraphNode[Task[_]]
Models a single node in the Mill build graph, with a list of inputs and a single output of type T.
Models a single node in the Mill build graph, with a list of inputs and a single output of type T.
Generally not instantiated manually, but instead constructed via the Target.apply & similar macros.
- Annotations
- @Scaladoc()
- trait TaskModule extends Module
- class Worker[+T] extends NamedTaskImpl[T]
Value Members
- object Applicative
A generic Applicative-functor macro: translates calls to
A generic Applicative-functor macro: translates calls to
Applier.apply{ ... applyable1.apply() ... applyable2.apply() ... }
into
Applier.zipMap(applyable1, applyable2){ (a1, a2, ctx) => ... a1 ... a2 ... }
- Annotations
- @Scaladoc()
- object BaseModule
- object Caller extends Serializable
- object Compat
- object Cross
- object Ctx extends Serializable
- object Discover extends Serializable
- object EnclosingClass extends Serializable
- object Graph
- object Module
- object ParseArgs
- object Segment
- object Segments extends Serializable
- object SelectMode
- object Target extends Applyer[Task, Task, Result, api.Ctx]
- object Task