Exit code to return if --no-build
is set and a build is required.
Instances For
Configuration options for a Lake build.
- oldMode : Bool
Use modification times for trace checking.
- trustHash : Bool
Whether to trust
.hash
files. - noBuild : Bool
Early exit if a target has to be rebuilt.
- verbosity : Lake.Verbosity
Verbosity level (
-q
,-v
, or neither). - failLv : Lake.LogLevel
Fail the top-level build if entries of at least this level have been logged.
Unlike some build systems, this does NOT convert such log entries to errors, and it does not abort jobs when warnings are logged (i.e., dependent jobs will still continue unimpeded).
- outLv : Lake.LogLevel
The minimum log level for an log entry to be reported.
- out : Lake.OutStream
The stream to which Lake reports build progress. By default, Lake uses
stderr
. - ansiMode : Lake.AnsiMode
Whether to use ANSI escape codes in build output.
Instances For
Whether the build should show progress information.
Verbosity.quiet
hides progress and, for a noBuild
,
Verbosity.verbose
shows progress.
Equations
Instances For
Equations
- Lake.instInhabitedJobCore = { default := { task := default, caption := default, optional := default } }
A Lake job with an opaque value type in Type
.
Instances For
A Lake context with a build configuration and additional build data.
- leanTrace : Lake.BuildTrace
- registeredJobs : IO.Ref (Array Lake.OpaqueJob)
Instances For
A monad equipped with a Lake build context.
Equations
Instances For
Equations
- Lake.getLeanTrace = (fun (x : Lake.BuildContext) => x.leanTrace) <$> Lake.getBuildContext
Instances For
Instances For
Equations
- Lake.getIsOldMode = (fun (x : Lake.BuildConfig) => x.oldMode) <$> Lake.getBuildConfig
Instances For
Equations
- Lake.getTrustHash = (fun (x : Lake.BuildConfig) => x.trustHash) <$> Lake.getBuildConfig
Instances For
Instances For
Instances For
Equations
- Lake.getIsVerbose = (fun (x : Lake.Verbosity) => x == Lake.Verbosity.verbose) <$> Lake.getVerbosity
Instances For
Equations
- Lake.getIsQuiet = (fun (x : Lake.Verbosity) => x == Lake.Verbosity.quiet) <$> Lake.getVerbosity
Instances For
The internal core monad of Lake builds. Not intended for user use.
Equations
Instances For
Logs a build step with message
.
Deprecated: Build steps are now managed by a top-level build monitor.
As a result, this no longer functions the way it used to. It now just logs the
message
via logVerbose
.
Equations
- Lake.logStep message = Lake.logVerbose message