package api
- Alphabetic
- Public
- Protected
Type Members
- sealed class AggWrapper extends AnyRef
- trait BuildProblemReporter extends AnyRef
A listener trait for getting notified about build output like compiler warnings and errors
- class Ctx extends Dest with Log with Args with Home with Env
- class FixSizedCache[T] extends KeyedLockedCache[T]
Simple fixed size cache mainly intended for use in ZincWorkerImpl with the following properties - Elements are lazily initialized upon first access - Cached element ordering is preserved.
Simple fixed size cache mainly intended for use in ZincWorkerImpl with the following properties - Elements are lazily initialized upon first access - Cached element ordering is preserved. The earliest available cache entry which is probably a compiler instance will always be returned first, and it will always be put back in the cache in the same position. This is important because each compiler instance is JITed independently. So with a stable ordering so we can bias towards reusing an already warm compiler.
- trait JsonFormatters extends AnyRef
Defines various default JSON formatters used in mill.
- trait KeyedLockedCache[T] extends AnyRef
A combination lock & cache; users provide a key, value-factory, and a body function to be called with the value.
A combination lock & cache; users provide a key, value-factory, and a body function to be called with the value. KeyedLockedCache ensures that the body function is called with the computed/cached value sequentially.
- trait Logger extends AnyRef
The standard logging interface of the Mill build tool.
The standard logging interface of the Mill build tool.
Contains these primary logging methods, in order of increasing importance:
-
debug
: internal debug messages normally not shown to the user; mostly useful when debugging issues-
ticker
: short-lived logging output where consecutive lines over-write each other; useful for information which is transient and disposable-
info
: miscellaneous logging output which isn't part of the main output a user is looking for, but useful to provide context on what Mill is doing-
error
: logging output which represents problems the user should care aboutAlso contains the two forwarded stdout and stderr streams, for code executed by Mill to use directly. Typically these correspond to the stdout and stderr, but when
show
is used both are forwarded to stderr and stdout is only used to display the finalshow
output for easy piping. - case class PathRef(path: Path, quick: Boolean, sig: Int) extends Product with Serializable
A wrapper around
os.Path
that calculates it's hashcode based on the contents of the filesystem underneath it.A wrapper around
os.Path
that calculates it's hashcode based on the contents of the filesystem underneath it. Used to ensure filesystem changes can bust caches which are keyed off hashcodes. - trait Problem extends AnyRef
Contains general information about the build problem
- trait ProblemPosition extends AnyRef
Indicates the exact location (source file, line, column) of the build problem
- sealed trait Result[+T] extends AnyRef
The result of a task execution.
The result of a task execution.
- T
The result type of the computed task.
- sealed trait Severity extends AnyRef
- trait StreamSupport extends AnyRef
- trait TestReporter extends AnyRef
Test reporter class that can be injected into the test task and report information upon the start and the finish of testing events
Value Members
- object ClassLoader
- object Ctx
Provides access to various resources in the context of a currently execution Target.
- object DummyInputStream extends ByteArrayInputStream
A dummy input stream containing an empty byte array.
- object DummyOutputStream extends OutputStream
A dummy output stream that does nothing with what it consumes (think of it as
/dev/null
). - object DummyTestReporter extends TestReporter
Dummy Test Reporter that doesn't report anything for any testing event.
- object Error extends Severity with Product with Serializable
- object IO extends StreamSupport
Misc IO utilities, eventually probably should be pushed upstream into ammonite-ops
- object Info extends Severity with Product with Serializable
- object JsonFormatters extends JsonFormatters
- object KeyedLockedCache
- object Loose extends AggWrapper
- object PathRef extends Serializable
- object Result
- object Strict extends AggWrapper
- object Warn extends Severity with Product with Serializable