Exit code to return if --no-build
is set and a build is required.
Equations
Instances For
Configuration options for a Lake build.
- oldMode : Bool
- trustHash : Bool
- noBuild : Bool
Early exit if a target has to be rebuilt.
- verbosity : Lake.Verbosity
- failIfWarnings : Bool
Fail the top-level build if warnings have been logged. Unlike some build systems, this does NOT convert warnings to errors, and it does not abort jobs when warnings are logged (i.e., dependent jobs will still continue unimpeded).
- useStdout : Bool
Report build output on
stdout
. Otherwise, Lake usesstderr
.
Instances For
@[reducible, inline]
Equations
Instances For
@[reducible, inline]
Equations
Instances For
A Lake context with a build configuration and additional build data.
- oldMode : Bool
- trustHash : Bool
- noBuild : Bool
- verbosity : Lake.Verbosity
- failIfWarnings : Bool
- useStdout : Bool
- opaqueWs : Lake.OpaqueWorkspace
- leanTrace : Lake.BuildTrace
Instances For
Equations
- Lake.instMonadLiftLakeMBuildTOfPure = { monadLift := fun {α : Type} (x : Lake.LakeM α) (ctx : Lake.BuildContext) => pure (Lake.LakeM.run ctx.toContext x) }
@[inline]
Equations
- Lake.getLeanTrace = (fun (x : Lake.BuildContext) => x.leanTrace) <$> readThe Lake.BuildContext
Instances For
@[inline]
Equations
- Lake.getBuildConfig = (fun (x : Lake.BuildContext) => x.toBuildConfig) <$> readThe Lake.BuildContext
Instances For
@[inline]
Equations
- Lake.getIsOldMode = (fun (x : Lake.BuildConfig) => x.oldMode) <$> Lake.getBuildConfig
Instances For
@[inline]
Equations
- Lake.getTrustHash = (fun (x : Lake.BuildConfig) => x.trustHash) <$> Lake.getBuildConfig
Instances For
@[inline]
Equations
- Lake.getNoBuild = (fun (x : Lake.BuildConfig) => x.noBuild) <$> Lake.getBuildConfig
Instances For
@[inline]
Equations
- Lake.getVerbosity = (fun (x : Lake.BuildConfig) => x.verbosity) <$> Lake.getBuildConfig
Instances For
@[inline]
Equations
- Lake.getIsVerbose = (fun (x : Lake.Verbosity) => x == Lake.Verbosity.verbose) <$> Lake.getVerbosity
Instances For
@[inline]
Equations
- Lake.getIsQuiet = (fun (x : Lake.Verbosity) => x == Lake.Verbosity.quiet) <$> Lake.getVerbosity
Instances For
@[reducible, inline]
The internal core monad of Lake builds. Not intended for user use.
Equations
Instances For
@[reducible, inline]
The monad used to spawn asynchronous Lake build jobs. Lifts into FetchM
.
Equations
Instances For
@[reducible, inline, deprecated Lake.SpawnM]
The monad used to spawn asynchronous Lake build jobs. Replaced by SpawnM
.