stack-2.15.1: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.Runner

Synopsis

Documentation

data Runner Source #

The base environment that almost everything in Stack runs in, based off of parsing command line options in GlobalOpts. Provides logging, process execution, and the MVar used to ensure that the Docker entrypoint is performed exactly once.

class (HasProcessContext env, HasLogFunc env) => HasRunner env where Source #

Class for environment values which have a Runner.

Methods

runnerL :: Lens' env Runner Source #

class HasRunner env => HasDockerEntrypointMVar env where Source #

Class for environment values which have a Docker entrypoint MVar.

Instances

Instances details
HasDockerEntrypointMVar Runner Source # 
Instance details

Defined in Stack.Types.Runner

terminalL :: HasRunner env => Lens' env Bool Source #

See globalTerminal

reExecL :: HasRunner env => SimpleGetter env Bool Source #

See globalReExecVersion