Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Perform a build
Synopsis
- printPlan :: (HasRunner env, HasTerm env) => Plan -> RIO env ()
- preFetch :: HasEnvConfig env => Plan -> RIO env ()
- executePlan :: HasEnvConfig env => BuildOptsCLI -> BaseConfigOpts -> [LocalPackage] -> [DumpPackage] -> [DumpPackage] -> [DumpPackage] -> InstalledMap -> Map PackageName Target -> Plan -> RIO env ()
- data ExcludeTHLoading
- data KeepOutputOpen
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.
:: HasEnvConfig env | |
=> BuildOptsCLI | |
-> BaseConfigOpts | |
-> [LocalPackage] | |
-> [DumpPackage] | global packages |
-> [DumpPackage] | snapshot packages |
-> [DumpPackage] | project packages and local extra-deps |
-> 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
Instances
Eq KeepOutputOpen Source # | |
Defined in Stack.Types.Build (==) :: KeepOutputOpen -> KeepOutputOpen -> Bool # (/=) :: KeepOutputOpen -> KeepOutputOpen -> Bool # |