- spawnArgs : IO.Process.SpawnArgs
- exitCode : UInt32
- stdout : String
- stderr : String
Instances For
def
Lean.Server.FileWorker.runLakeSetupFile
(m : DocumentMeta)
(lakePath filePath : System.FilePath)
(header : ModuleHeader)
(handleStderr : String → IO Unit)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Result of running lake setup-file.
- success
(setup : ModuleSetup)
: FileSetupResult
File configuration loaded and dependencies updated successfully.
- noLakefile : FileSetupResult
No Lake project found, no setup was done.
- importsOutOfDate : FileSetupResult
Imports must be rebuilt but
--no-buildwas specified. - error
(msg : String)
: FileSetupResult
Other error during Lake invocation.
Instances For
def
Lean.Server.FileWorker.setupFile
(m : DocumentMeta)
(header : ModuleHeader)
(handleStderr : String → IO Unit)
:
Uses lake setup-file to compile dependencies on the fly and add them to LEAN_PATH.
Compilation progress is reported to handleStderr. Returns the search path for
source files and the options for the file.
Equations
- One or more equations did not get rendered due to their size.