mill.define.Ctx
See theCtx companion object
trait Ctx
The contextual information provided to a mill.define.Module or mill.define.Task
Attributes
Members list
Value members
Abstract methods
Attributes
- Source
- Ctx.scala
@Scaladoc(value = "/**\n * The [[Discover]] instance associate with this [[BaseModule]] hierarchy\n */")
The Discover instance associate with this BaseModule hierarchy
@Scaladoc(value = "/**\n * The `class` or `trait` that lexically surrounds this definition\n */")
The class
or trait
that lexically surrounds this definition
@Scaladoc(value = "/**\n * The runtime [[Module]] object that contains this definition\n */")
@Scaladoc(value = "/**\n * whether this is in an [[ExternalModule]]\n */")
whether this is in an ExternalModule
@Scaladoc(value = "/**\n * the file name that this module is defined in. Useful for\n * error reporting purposes\n */")
the file name that this module is defined in. Useful for error reporting purposes
the file name that this module is defined in. Useful for error reporting purposes
Attributes
- Source
- Ctx.scala
@Scaladoc(value = "/**\n * the line number that this module is defined at. Useful for\n * error reporting purposes\n */")
the line number that this module is defined at. Useful for error reporting purposes
the line number that this module is defined at. Useful for error reporting purposes
Attributes
- Source
- Ctx.scala
@Scaladoc(value = "/**\n * The enclosing module\'s default source root\n */")
The enclosing module's default source root
The name of this task or module
@Scaladoc(value = "/**\n * The full path of this task or module, from the [[BaseModule]]\n */")
The full path of this task or module, from the BaseModule
In this article