Documentation

Lake.Build.Target.Fetch

@[inline]
def Lake.PartialBuildKey.fetchInCore (defaultPkg : Package) (self : PartialBuildKey) :
FetchM ((key : BuildKey) × Job (BuildData key))

For internal use only.

Equations
Instances For
    @[inline]

    Fetches the target specified by this key, resolving gaps as needed.

    • A missing package (i.e., Name.anoanmoyus) is filled in with defaultPkg.
    • Facets are qualified by the their input target's kind, and missing facets are replaced by their kind's default.
    • Package targets ending in moduleTargetIndicator are converted to module package targets.
    • Package targets for non-dynamic targets (i.e., non-target) produce their default facet rather than their configuration.
    Equations
    Instances For
      @[inline]
      def Lake.BuildKey.fetch {α : Type} (self : BuildKey) [FamilyOut BuildData self α] :
      FetchM (Job α)
      Equations
      Instances For
        def Lake.Target.fetchIn {α : Type} [DataKind α] (defaultPkg : Package) (self : Target α) :
        FetchM (Job α)
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Lake.TargetArray.fetchIn {α : Type} [DataKind α] (defaultPkg : Package) (self : TargetArray α) :
          Equations
          Instances For