Build Target Specifiers #
- info : Lake.BuildInfo
- getBuildJob : Lake.BuildData self.info.key → Lake.BuildJob Unit
Instances For
@[inline]
def
Lake.BuildData.toBuildJob
{k : Lake.BuildKey}
{α : Type}
[Lake.FamilyOut Lake.BuildData k (Lake.BuildJob α)]
(data : Lake.BuildData k)
:
Equations
- data.toBuildJob = discard (Lake.ofFamily data)
Instances For
@[inline]
def
Lake.mkBuildSpec
{α : Type}
(info : Lake.BuildInfo)
[Lake.FamilyOut Lake.BuildData info.key (Lake.BuildJob α)]
:
Equations
- Lake.mkBuildSpec info = { info := info, getBuildJob := Lake.BuildData.toBuildJob }
Instances For
@[inline]
def
Lake.mkConfigBuildSpec
{Fam : Lean.Name → Type}
{ι : Type}
{facet : Lean.Name}
(facetType : String)
(info : Lake.BuildInfo)
(config : Lake.FacetConfig Fam ι facet)
(h : Lake.BuildData info.key = Fam facet)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
Equations
- self.fetch = do let __do_lift ← self.getBuildJob <$> self.info.fetch Lake.maybeRegisterJob self.info.key.toSimpleString __do_lift
Instances For
Equations
- Lake.buildSpecs specs = do let __do_lift ← Array.mapM (fun (x : Lake.BuildSpec) => x.fetch) specs liftM (Lake.BuildJob.mixArray __do_lift)
Instances For
Parsing CLI Build Target Specifiers #
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.resolveModuleTarget
(ws : Lake.Workspace)
(mod : Lake.Module)
(facet : Lean.Name := Lean.Name.anonymous)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.resolveLibTarget
(ws : Lake.Workspace)
(lib : Lake.LeanLib)
(facet : Lean.Name := Lean.Name.anonymous)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.resolveLibTarget.resolveFacet
(ws : Lake.Workspace)
(lib : Lake.LeanLib)
(facet : Lean.Name)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lake.resolveExeTarget exe facet = if (facet.isAnonymous || facet == `exe) = true then pure (Lake.mkBuildSpec exe.exe) else throw (Lake.CliError.unknownFacet "executable" facet)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.resolveCustomTarget
(pkg : Lake.Package)
(name facet : Lean.Name)
(config : Lake.TargetConfig pkg.name name)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.resolveTargetInPackage
(ws : Lake.Workspace)
(pkg : Lake.Package)
(target facet : Lean.Name)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lake.resolveDefaultPackageTarget ws pkg = Array.flatMapM (fun (x : Lean.Name) => Lake.resolveTargetInPackage ws pkg x Lean.Name.anonymous) pkg.defaultTargets
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.