Documentation

Lake.Build.Basic

Exit code to return if --no-build is set and a build is required.

Equations
Instances For

    Configuration options for a Lake build.

    • oldMode : Bool
    • trustHash : Bool
    • noBuild : Bool

      Early exit if a target has to be rebuilt.

    • verbosity : Lake.Verbosity
    • failIfWarnings : Bool

      Fail the top-level build if warnings have been logged. Unlike some build systems, this does NOT convert warnings to errors, and it does not abort jobs when warnings are logged (i.e., dependent jobs will still continue unimpeded).

    • useStdout : Bool

      Report build output on stdout. Otherwise, Lake uses stderr.

    Instances For
      @[reducible, inline]
      abbrev Lake.JobResult (α : Type u_1) :
      Type u_1
      Equations
      Instances For
        @[reducible, inline]
        abbrev Lake.JobTask (α : Type u_1) :
        Type u_1
        Equations
        Instances For
          structure Lake.Job (α : Type u) :

          A Lake job.

          Instances For

            A Lake context with a build configuration and additional build data.

            Instances For
              @[reducible, inline]
              abbrev Lake.BuildT (m : TypeType u_1) (α : Type) :
              Type u_1

              A transformer to equip a monad with a BuildContext.

              Equations
              Instances For
                Equations
                @[inline]
                Equations
                Instances For
                  @[inline]
                  Equations
                  Instances For
                    @[inline]
                    def Lake.getIsOldMode {m : TypeType u_1} [Monad m] :
                    Equations
                    Instances For
                      @[inline]
                      def Lake.getTrustHash {m : TypeType u_1} [Monad m] :
                      Equations
                      Instances For
                        @[inline]
                        def Lake.getNoBuild {m : TypeType u_1} [Monad m] :
                        Equations
                        Instances For
                          @[inline]
                          Equations
                          Instances For
                            @[inline]
                            def Lake.getIsVerbose {m : TypeType u_1} [Monad m] :
                            Equations
                            Instances For
                              @[inline]
                              def Lake.getIsQuiet {m : TypeType u_1} [Monad m] :
                              Equations
                              Instances For
                                @[reducible, inline]
                                abbrev Lake.CoreBuildM (α : Type) :

                                The internal core monad of Lake builds. Not intended for user use.

                                Equations
                                Instances For
                                  @[reducible, inline]
                                  abbrev Lake.JobM (α : Type) :

                                  The monad of asynchronous Lake jobs.

                                  Equations
                                  Instances For
                                    @[reducible, inline]
                                    abbrev Lake.SpawnM (α : Type) :

                                    The monad used to spawn asynchronous Lake build jobs. Lifts into FetchM.

                                    Equations
                                    Instances For
                                      @[reducible, inline, deprecated Lake.SpawnM]
                                      abbrev Lake.SchedulerM (α : Type) :

                                      The monad used to spawn asynchronous Lake build jobs. Replaced by SpawnM.

                                      Equations
                                      Instances For