DiscoveredBuildFiles

mill.meta.DiscoveredBuildFiles
See theDiscoveredBuildFiles companion class

Logic around traversing the import $file graph, extracting necessary info and converting it to a convenient data structure for downstream code to use

Attributes

Companion
class
Source
DiscoveredBuildFiles.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def fileImportToSegments(base: Path, s: Path): Seq[String]

Attributes

Source
DiscoveredBuildFiles.scala
def findRootBuildFiles(projectRoot: Path): (dummy: Boolean, foundRootBuildFileName: String)

Attributes

Source
DiscoveredBuildFiles.scala
def parseBuildFiles(topLevelProjectRoot: Path, projectRoot: Path, output: Path, parser: MillScalaParser, walked: Seq[Path], colored: Boolean): DiscoveredBuildFiles

We perform a depth-first traversal of the import graph of .mill files, starting from build.mill, collecting the information necessary to instantiate the MillRootModule

We perform a depth-first traversal of the import graph of .mill files, starting from build.mill, collecting the information necessary to instantiate the MillRootModule

Attributes

Source
DiscoveredBuildFiles.scala
def walkBuildFiles(projectRoot: Path, output: Path): Seq[Path]

Attributes

Source
DiscoveredBuildFiles.scala

Implicits

Implicits

implicit val readWriter: ReadWriter[DiscoveredBuildFiles]

Attributes

Source
DiscoveredBuildFiles.scala