Ctx

mill.api.Ctx
See theCtx companion class
@Scaladoc(value = "/**\n * Provides access to various resources in the context of a current execution Target.\n */")
object Ctx

Provides access to various resources in the context of a current execution Target.

Attributes

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

Members list

Type members

Classlikes

trait Args

Attributes

Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Ctx
object Dest

Attributes

Companion
trait
Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Dest.type
trait Dest

Access to the targets dest path.

Access to the targets dest path.

Attributes

Companion
object
Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Ctx
trait Env

Access to the current system environment settings.

Access to the current system environment settings.

Attributes

Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Ctx
object Fork

Attributes

Companion
trait
Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Fork.type
trait Fork

Attributes

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

Access to some internal storage dir used by underlying ammonite. You should not need this in a buildscript.

Access to some internal storage dir used by underlying ammonite. You should not need this in a buildscript.

Attributes

Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Ctx
class ImplicitStub extends StaticAnnotation

Marker annotation.

Marker annotation.

Attributes

Source
Ctx.scala
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
trait Jobs

Access to the selected parallel job count (mill --jobs).

Access to the selected parallel job count (mill --jobs).

Attributes

Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
object Log

Attributes

Companion
trait
Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Log.type
trait Log

Access to the targets Logger instance.

Access to the targets Logger instance.

Attributes

Companion
object
Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Ctx
trait Workspace

Access to the project root (aka workspace) directory.

Access to the project root (aka workspace) directory.

Attributes

Source
Ctx.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Ctx

Value members

Concrete methods

def defaultHome: Path

Attributes

Source
Ctx.scala

Implicits

Implicits

implicit def taskCtx: Ctx

Attributes

Source
Ctx.scala