Build Target Fetching #
Utilities for fetching package, library, module, and executable targets and facets.
Package Facets & Targets #
Fetch the build job of the specified package target.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.TargetDecl.fetch
{α : Type}
(self : Lake.TargetDecl)
[Lake.FamilyOut Lake.CustomData (self.pkg, self.name) α]
:
Fetch the build result of a target.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fetch the build job of the target.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
def
Lake.PackageFacetDecl.fetch
{α : Type}
(pkg : Lake.Package)
(self : Lake.PackageFacetDecl)
[Lake.FamilyOut Lake.PackageData self.name α]
:
Fetch the build result of a package facet.
Equations
- Lake.PackageFacetDecl.fetch pkg self = Lake.fetch (Lake.Package.facet self.name pkg)
Instances For
def
Lake.PackageFacetConfig.fetchJob
{name : Lake.Name}
(pkg : Lake.Package)
(self : Lake.PackageFacetConfig name)
:
Fetch the build job of a package facet.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fetch the build job of a library facet.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Module Facets #
@[inline]
def
Lake.ModuleFacetDecl.fetch
{α : Type}
(mod : Lake.Module)
(self : Lake.ModuleFacetDecl)
[Lake.FamilyOut Lake.ModuleData self.name α]
:
Fetch the build result of a module facet.
Equations
- Lake.ModuleFacetDecl.fetch mod self = Lake.fetch (Lake.Module.facet self.name mod)
Instances For
def
Lake.ModuleFacetConfig.fetchJob
{name : Lake.Name}
(mod : Lake.Module)
(self : Lake.ModuleFacetConfig name)
:
Fetch the build job of a module facet.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fetch the build job of a module facet.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Lean Library Facets #
@[inline]
def
Lake.LeanLibConfig.get
{m : Type → Type u_1}
(self : Lake.LeanLibConfig)
[Monad m]
[Lake.MonadError m]
[Lake.MonadLake m]
:
Get the Lean library in the workspace with the configuration's name.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
def
Lake.LibraryFacetDecl.fetch
{α : Type}
(lib : Lake.LeanLib)
(self : Lake.LibraryFacetDecl)
[Lake.FamilyOut Lake.LibraryData self.name α]
:
Fetch the build result of a library facet.
Equations
- Lake.LibraryFacetDecl.fetch lib self = Lake.fetch (Lake.LeanLib.facet lib self.name)
Instances For
def
Lake.LibraryFacetConfig.fetchJob
{name : Lake.Name}
(lib : Lake.LeanLib)
(self : Lake.LibraryFacetConfig name)
:
Fetch the build job of a library facet.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fetch the build job of a library facet.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Lean Executable Target #
@[inline]
def
Lake.LeanExeConfig.get
{m : Type → Type u_1}
(self : Lake.LeanExeConfig)
[Monad m]
[Lake.MonadError m]
[Lake.MonadLake m]
:
Get the Lean executable in the workspace with the configuration's name.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
Fetch the build of the Lean executable.
Equations
- Lake.LeanExeConfig.fetch self = do let __do_lift ← Lake.LeanExeConfig.get self Lake.fetch (Lake.LeanExe.exe __do_lift)