Documentation

Lake.Build.Module

Module Build Definitions #

Facet Builds #

Build function definitions for a module's builtin facets.

The ModuleFacetConfig for the builtin inputFacet.

Equations
    Instances For

      The ModuleFacetConfig for the builtin leanFacet.

      Equations
        Instances For

          The ModuleFacetConfig for the builtin headerFacet.

          Equations
            Instances For

              The ModuleFacetConfig for the builtin importsFacet.

              Equations
                Instances For

                  The ModuleFacetConfig for the builtin transImportsFacet.

                  Equations
                    Instances For

                      The ModuleFacetConfig for the builtin precompileImportsFacet.

                      Equations
                        Instances For

                          The ModuleFacetConfig for the builtin importInfoFacet.

                          Equations
                            Instances For

                              The ModuleFacetConfig for the builtin exportInfoFacet.

                              Equations
                                Instances For

                                  The ModuleFacetConfig for the builtin importArtsFacet.

                                  Equations
                                    Instances For

                                      The ModuleFacetConfig for the builtin importAllArtsFacet.

                                      Equations
                                        Instances For

                                          The ModuleFacetConfig for the builtin setupFacet.

                                          Equations
                                            Instances For

                                              The ModuleFacetConfig for the builtin depsFacet.

                                              Equations
                                                Instances For

                                                  Remove all existing artifacts produced by the Lean build of the module.

                                                  Equations
                                                    Instances For

                                                      Remove any cached file hashes of the module build outputs (in .hash files).

                                                      Equations
                                                        Instances For

                                                          Cache the file hashes of the module build outputs in .hash files.

                                                          Equations
                                                            Instances For

                                                              The ModuleFacetConfig for the builtin leanArtsFacet.

                                                              Equations
                                                                Instances For

                                                                  The ModuleFacetConfig for the builtin oleanFacet.

                                                                  Equations
                                                                    Instances For

                                                                      The ModuleFacetConfig for the builtin oleanServerFacet.

                                                                      Equations
                                                                        Instances For

                                                                          The ModuleFacetConfig for the builtin oleanPrivateFacet.

                                                                          Equations
                                                                            Instances For

                                                                              The ModuleFacetConfig for the builtin ileanFacet.

                                                                              Equations
                                                                                Instances For

                                                                                  The ModuleFacetConfig for the builtin irFacet.

                                                                                  Equations
                                                                                    Instances For

                                                                                      The ModuleFacetConfig for the builtin cFacet.

                                                                                      Equations
                                                                                        Instances For

                                                                                          The ModuleFacetConfig for the builtin bcFacet.

                                                                                          Equations
                                                                                            Instances For

                                                                                              The ModuleFacetConfig for the builtin coExportFacet.

                                                                                              Equations
                                                                                                Instances For

                                                                                                  The ModuleFacetConfig for the builtin coNoExportFacet.

                                                                                                  Equations
                                                                                                    Instances For

                                                                                                      The ModuleFacetConfig for the builtin coFacet.

                                                                                                      Equations
                                                                                                        Instances For

                                                                                                          The ModuleFacetConfig for the builtin bcoFacet.

                                                                                                          Equations
                                                                                                            Instances For

                                                                                                              The ModuleFacetConfig for the builtin oExportFacet.

                                                                                                              Equations
                                                                                                                Instances For

                                                                                                                  The ModuleFacetConfig for the builtin oNoExportFacet.

                                                                                                                  Equations
                                                                                                                    Instances For

                                                                                                                      The ModuleFacetConfig for the builtin oFacet.

                                                                                                                      Equations
                                                                                                                        Instances For

                                                                                                                          The ModuleFacetConfig for the builtin dynlibFacet.

                                                                                                                          Equations
                                                                                                                            Instances For

                                                                                                                              A name-configuration map for the initial set of Lake module facets (e.g., imports, c, o, dynlib).

                                                                                                                              Equations
                                                                                                                                Instances For
                                                                                                                                  @[reducible, inline]

                                                                                                                                  A name-configuration map for the initial set of Lake module facets (e.g., imports, c, o, dynlib).

                                                                                                                                  Equations
                                                                                                                                    Instances For

                                                                                                                                      Top-Level Builds #

                                                                                                                                      Definitions to support lake setup-file and lake lean builds.

                                                                                                                                      Computes the module setup of edited Lean code for the Lean language server, building its imports and other dependencies. Used by lake setup-file.

                                                                                                                                      Due to its exclusive use as a top-level build, it does not construct a proper trace state.

                                                                                                                                      Equations
                                                                                                                                        Instances For

                                                                                                                                          Computes the arguments required to evaluate the Lean file with lean, building its imports and other dependencies. Used by lake lean.

                                                                                                                                          Due to its exclusive use as a top-level build, it does not construct a proper trace state.

                                                                                                                                          Equations
                                                                                                                                            Instances For