Documentation

Lake.Config.InputFileConfig

structure Lake.InputFileConfig (name : Lean.Name) :

The declarative configuration for a single input file.

  • The path to the input file (relative to the package root).

    Defaults to the name of the target.

  • text : Bool

    Whether this is a text file. If so, Lake normalize line endings for its trace. This avoids rebuilds across platforms with different line endings.

    Defaults to false.

Instances For
    @[implicit_reducible]
    instance Lake.InputFileConfig.instConfigInfo :
    ConfigInfo `Lake.InputFileConfig
    Equations
    structure Lake.InputDirConfig (name : Lean.Name) :

    The declarative configuration for an input directory.

    • The path to the input directory (relative to the package root).

      Defaults to the name of the target.

    • text : Bool

      Whether the directory is composed of text files. If so, Lake normalize line endings for their traces. This avoids rebuilds across platforms with different line endings.

      Defaults to false.

    • filter : PathPat
    Instances For
      @[implicit_reducible]
      instance Lake.InputDirConfig.instConfigInfo :
      ConfigInfo `Lake.InputDirConfig
      Equations