Configuration options for a Lake build.
- oldMode : Bool
Use modification times for trace checking.
- trustHash : Bool
Whether to trust
.hashfiles. - noBuild : Bool
Early exit if a target has to be rebuilt.
- verbosity : Verbosity
Verbosity level (
-q,-v, or neither). - showSuccess : Bool
Whether to print a message when the build finishes successfully (if not quiet).
- outputsFile? : Option System.FilePath
File to save input-to-output mappings from the build of the workspace's root
- leanOptOverrides : Lean.NameMap Lean.LeanOptions
Per-package Lean option overrides, applied to every module whose owning package's
baseNameappears as a key. WhenrecFetchSetupbuilds moduleM, theLeanOptionsassociated withM.pkg.baseName(if any) are appended toM.leanOptions, overriding clashing entries.Used by
lake lintto injectlinter.extra/linter.allinto every module of a target package (so transitively-imported first-party modules capture linter-tagged warnings), without touching dependencies.
Instances For
Whether the build should show progress information.
Verbosity.quiet hides progress and, for a noBuild,
Verbosity.verbose shows progress.
Instances For
A Lake context with a build configuration and additional build data.
- leanTrace : BuildTrace
- registeredJobs : JobQueue
Input-to-output(s) map for hashes of the root package's artifacts. If
none, tracking outputs is disabled for this build.
Instances For
A monad equipped with a Lake build context.