Documentation

Lake.Build.Package

Package Facet Builds #

Build function definitions for a package's builtin facets.

Compute a topological ordering of the package's transitive dependencies.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Tries to download the package's build cache (if configured).

    Instances For

      Tries to download and unpack the package's cached build archive (e.g., from Reservoir or GitHub). Prints a warning on failure.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[deprecated Lake.Package.maybeFetchBuildCacheWithWarning]
        Instances For

          Build the extraDepTargets for the package. Also, if the package is a dependency, maybe fetch its build cache.

          Instances For

            Compute the package's Reservoir barrel URL.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Compute the package's GitHub release URL.

              Instances For
                def Lake.Package.fetchBuildArchive (self : Lake.Package) (url : String) (archiveFile : System.FilePath) (headers : Array String := #[]) :

                Tries to download and unpack a build archive for the package from a URL.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  The PackageFacetConfig for the builtin optReservoirBarrelFacet.

                  Instances For

                    The PackageFacetConfig for the builtin optGitHubReleaseFacet.

                    Instances For
                      @[reducible, inline, deprecated Lake.Package.optGitHubReleaseFacetConfig]
                      Instances For
                        @[reducible, inline, deprecated Lake.Package.gitHubReleaseFacetConfig]
                        Instances For

                          Perform a build job after first checking for an (optional) cached build for the package (e.g., from Reservoir or GitHub).

                          Instances For
                            @[deprecated Lake.Package.afterBuildCacheAsync]
                            Instances For

                              Perform a build after first checking for an (optional) cached build for the package (e.g., from Reservoir or GitHub).

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                @[deprecated Lake.Package.afterBuildCacheSync]
                                Instances For

                                  A package facet name to build function map that contains builders for the initial set of Lake package facets (e.g., extraDep).

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For