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.Package.facet self.name pkg).fetch
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.Module.facet self.name mod).fetch
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 = (lib.facet self.name).fetch
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
- self.fetch = do let __do_lift ← self.get __do_lift.exe.fetch