Equations
Instances For
Equations
- pkg.unpack file = do Lake.logInfo (toString "unpacking " ++ toString file ++ toString "") Lake.untar file pkg.buildDir
Instances For
def
Lake.Workspace.evalLeanFile
(ws : Workspace)
(leanFile : System.FilePath)
(moreArgs : Array String := #[])
(buildConfig : BuildConfig := { })
:
Run lean
on file using configuration from the workspace.
Additional arguments can be passed to lean
via moreArgs
and the
building of dependencies can be further configured via buildConfig
.
Equations
- ws.evalLeanFile leanFile moreArgs buildConfig = do let spawnArgs ← ws.runBuild (Lake.prepareLeanCommand leanFile moreArgs) buildConfig let child ← IO.Process.spawn spawnArgs child.wait