stack-0.1.6.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Build.Execute

Contents

Description

Perform a build

Synopsis

Documentation

printPlan :: M env m => Plan -> m () Source

preFetch :: M env m => Plan -> m () Source

executePlan Source

Arguments

:: M env m 
=> EnvOverride 
-> BuildOpts 
-> BaseConfigOpts 
-> [LocalPackage] 
-> [DumpPackage () ()]

globals

-> SourceMap 
-> InstalledMap 
-> Plan 
-> m () 

Perform the actual plan

Running Setup.hs

withExecuteEnv Source

Arguments

:: M env m 
=> EnvOverride 
-> BuildOpts 
-> BaseConfigOpts 
-> [LocalPackage] 
-> [DumpPackage () ()]

global packages

-> SourceMap 
-> (ExecuteEnv -> m a) 
-> m a 

withSingleContext Source

Arguments

:: M env m 
=> (m () -> IO ()) 
-> ActionContext 
-> ExecuteEnv 
-> Task 
-> Maybe (Map PackageIdentifier GhcPkgId)

All dependencies' package ids to provide to Setup.hs. If Nothing, just provide global and snapshot package databases.

-> Maybe String 
-> (Package -> Path Abs File -> Path Abs Dir -> (Bool -> [String] -> m ()) -> (Text -> m ()) -> Bool -> Maybe (Path Abs File, Handle) -> m a) 
-> m a