Ctx

mill.define.Ctx
See theCtx companion object
trait Ctx

The contextual information provided to a mill.define.Module or mill.define.Task

Attributes

Companion
object
Source
Ctx.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def crossValues: Seq[Any]

Attributes

Source
Ctx.scala
@Scaladoc(value = "/**\n * The [[Discover]] instance associate with this [[BaseModule]] hierarchy\n */")

The Discover instance associate with this BaseModule hierarchy

The Discover instance associate with this BaseModule hierarchy

Attributes

Source
Ctx.scala
def enclosing: String

Attributes

Source
Ctx.scala
@Scaladoc(value = "/**\n * The `class` or `trait` that lexically surrounds this definition\n */")
def enclosingCls: Class[_]

The class or trait that lexically surrounds this definition

The class or trait that lexically surrounds this definition

Attributes

Source
Ctx.scala
@Scaladoc(value = "/**\n * The runtime [[Module]] object that contains this definition\n */")
def enclosingModule: Any

The runtime Module object that contains this definition

The runtime Module object that contains this definition

Attributes

Source
Ctx.scala
@Scaladoc(value = "/**\n * whether this is in an [[ExternalModule]]\n */")
def external: Boolean

whether this is in an ExternalModule

whether this is in an ExternalModule

Attributes

Source
Ctx.scala
@Scaladoc(value = "/**\n * the file name that this module is defined in. Useful for\n * error reporting purposes\n */")
def fileName: String

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 */")
def lineNum: Int

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 */")
def millSourcePath: Path

The enclosing module's default source root

The enclosing module's default source root

Attributes

Source
Ctx.scala
@Scaladoc(value = "/**\n * The name of this task or module\n */")

The name of this task or module

The name of this task or module

Attributes

Source
Ctx.scala
@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

The full path of this task or module, from the BaseModule

Attributes

Source
Ctx.scala