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

Stack.Build.Execute

Description

Perform a build

Synopsis

Documentation

printPlan :: (HasRunner env, HasTerm env) => Plan -> RIO env () Source #

Print a description of build plan for human consumption.

preFetch :: HasEnvConfig env => Plan -> RIO env () Source #

Fetch the packages necessary for a build, for example in combination with a dry run.

executePlan Source #

Arguments

:: HasEnvConfig env 
=> BuildOptsCLI 
-> BaseConfigOpts 
-> [LocalPackage] 
-> [DumpPackage]

global packages

-> [DumpPackage]

snapshot packages

-> [DumpPackage]

local packages

-> InstalledMap 
-> Map PackageName Target 
-> Plan 
-> RIO env () 

Perform the actual plan

Running Setup.hs

data KeepOutputOpen Source #

special marker for expected failures in curator builds, using those we need to keep log handle open as build continues further even after a failure

Constructors

KeepOpen 
CloseOnException 

Instances

Instances details
Eq KeepOutputOpen Source # 
Instance details

Defined in Stack.Types.Build