stackage-curator-0.8.1: Tools for curating Stackage bundles

Safe HaskellNone
LanguageHaskell2010

Stackage.CompleteBuild

Synopsis

Documentation

data BuildFlags Source

Flags passed in from the command line.

Constructors

BuildFlags 

Fields

bfEnableTests :: !Bool
 
bfEnableHaddock :: !Bool
 
bfDoUpload :: !Bool
 
bfEnableLibProfile :: !Bool
 
bfEnableExecDyn :: !Bool
 
bfVerbose :: !Bool
 
bfSkipCheck :: !Bool
 
bfServer :: !StackageServer
 
bfBuildHoogle :: !Bool
 
bfBundleDest :: !(Maybe FilePath)
 
bfGitPush :: !Bool

push to Git (when doing an LTS build)

bfJobs :: !(Maybe Int)
 
bfPlanFile :: !(Maybe FilePath)
 
bfPreBuild :: !Bool
 
bfLoadPlan :: !Bool
 

Instances

checkPlan :: Maybe FilePath -> IO () Source

Generate and check a new build plan, but do not execute it.

Since 0.3.1

createPlan Source

Arguments

:: Target 
-> FilePath 
-> [Dependency]

additional constraints

-> IO () 

fetch :: FilePath -> IO () Source

makeBundle Source

Arguments

:: FilePath

plan file

-> FilePath

bundle file

-> Target 
-> Maybe Int

jobs

-> Bool

skip tests?

-> Bool

skip haddock?

-> Bool

skip hoogle?

-> Bool

enable library profiling?

-> Bool

enable executable dynamic?

-> Bool

verbose?

-> Bool

allow-newer?

-> IO () 

upload Source

Arguments

:: FilePath

bundle file

-> StackageServer

server URL

-> IO () 

hackageDistro Source

Arguments

:: FilePath

plan file

-> Target 
-> IO () 

uploadGithub Source

Arguments

:: FilePath

plan file

-> Target 
-> IO ()