Used to mark a module in your build.mill
as a top-level module, so it's tasks can be run directly e.g. via mill run
rather than prefixed by the module name mill foo.run
.
Only one top-level module may be defined in your build.mill
, and it must be defined at the top level of the build.mill
and not nested in any other modules.
Attributes
- Companion
- object
- Source
- RootModule.scala
- Graph
-
- Supertypes
-
trait MainModuleclass BaseModuletrait Moduletrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Attributes
- Inherited from:
- Module
- Source
- Module.scala
- Supertypes
Value members
Concrete methods
Attributes
- Source
- RootModule.scala
Inherited methods
Deletes the given targets from the out directory. Providing no targets will clean everything.
Deletes the given targets from the out directory. Providing no targets will clean everything.
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
The init
allows you to quickly generate a starter project.
The init
allows you to quickly generate a starter project.
If you run it without arguments, it displays the list of available examples.
If you pass one of listed examples, it downloads specified example from mill releases page and extracts it to working directory.
If you pass a g8 template, it will generate a project based on a Giter8 template. It prompts you to enter project name and creates a folder with that name. There are lots of templates out there for many frameworks and tools!
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Displays metadata about the given task without actually running it.
Displays metadata about the given task without actually running it.
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Attributes
- Inherited from:
- BaseModule
- Source
- BaseModule.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Prints out some dependency path from the src
task to the dest
task.
Prints out some dependency path from the src
task to the dest
task.
If there are multiple dependency paths between src
and dest
, the path chosen is arbitrary.
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Given a set of tasks, prints out the execution plan of what tasks will be executed in what order, without actually executing them.
Given a set of tasks, prints out the execution plan of what tasks will be executed in what order, without actually executing them.
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Resolves a mill query string and prints out the tasks it resolves to.
Resolves a mill query string and prints out the tasks it resolves to.
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Runs a given task and prints the JSON result to stdout. This is useful to integrate Mill into external scripts and tooling.
Runs a given task and prints the JSON result to stdout. This is useful to integrate Mill into external scripts and tooling.
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Runs a given task and prints the results as JSON dictionary to stdout. This is useful to integrate Mill into external scripts and tooling.
Runs a given task and prints the results as JSON dictionary to stdout. This is useful to integrate Mill into external scripts and tooling.
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Shuts down mill's background server
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Module -> Any
- Inherited from:
- Module
- Source
- Module.scala
Show the mill version.
Renders the dependencies between the given tasks as a SVG for you to look at
Renders the dependencies between the given tasks as a SVG for you to look at
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Renders the dependencies between the given tasks, and all their dependencies, as a SVG
Renders the dependencies between the given tasks, and all their dependencies, as a SVG
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Inherited fields
Commands related to selective execution, where Mill runs tasks selectively depending on what task inputs or implementations changed
Commands related to selective execution, where Mill runs tasks selectively depending on what task inputs or implementations changed
Attributes
- Inherited from:
- MainModule
- Source
- MainModule.scala
Implicits
Inherited implicits
Attributes
- Inherited from:
- Module
- Source
- Module.scala