Documentation

Lake.Build.Context

Configuration options for a Lake build.

  • oldMode : Bool

    Use modification times for trace checking.

  • trustHash : Bool

    Whether to trust .hash files.

  • noBuild : Bool

    Early exit if a target has to be rebuilt.

  • verbosity : Verbosity

    Verbosity level (-q, -v, or neither).

  • failLv : LogLevel

    Fail the top-level build if entries of at least this level have been logged.

    Unlike some build systems, this does NOT convert such log entries to errors, and it does not abort jobs when warnings are logged (i.e., dependent jobs will still continue unimpeded).

  • outLv : LogLevel

    The minimum log level for an log entry to be reported.

  • out : OutStream

    The stream to which Lake reports build progress. By default, Lake uses stderr.

  • ansiMode : AnsiMode

    Whether to use ANSI escape codes in build output.

Instances For

    Whether the build should show progress information.

    Verbosity.quiet hides progress and, for a noBuild, Verbosity.verbose shows progress.

    Equations
    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
          @[reducible, inline]
          abbrev Lake.MonadBuild (m : TypeType u) :

          A monad equipped with a Lake build context.

          Equations
          Instances For
            @[inline]
            Equations
            Instances For
              @[inline]
              def Lake.getIsOldMode {m : TypeType u_1} [Functor m] [MonadBuild m] :
              Equations
              Instances For
                @[inline]
                def Lake.getTrustHash {m : TypeType u_1} [Functor m] [MonadBuild m] :
                Equations
                Instances For
                  @[inline]
                  def Lake.getNoBuild {m : TypeType u_1} [Functor m] [MonadBuild m] :
                  Equations
                  Instances For
                    @[inline]
                    def Lake.getVerbosity {m : TypeType u_1} [Functor m] [MonadBuild m] :
                    Equations
                    Instances For
                      @[inline]
                      def Lake.getIsVerbose {m : TypeType u_1} [Functor m] [MonadBuild m] :
                      Equations
                      Instances For
                        @[inline]
                        def Lake.getIsQuiet {m : TypeType u_1} [Functor m] [MonadBuild m] :
                        Equations
                        Instances For