| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Stackage.CompleteBuild
- data BuildFlags = BuildFlags {
- bfEnableTests :: !Bool
- bfEnableBenches :: !Bool
- bfEnableHaddock :: !Bool
- bfDoUpload :: !Bool
- bfEnableLibProfile :: !Bool
- bfEnableExecDyn :: !Bool
- bfVerbose :: !Bool
- bfSkipCheck :: !Bool
- bfServer :: !StackageServer
- bfBuildHoogle :: !Bool
- bfBundleDest :: !(Maybe FilePath)
- bfGitPush :: !Bool
- bfJobs :: !(Maybe Int)
- bfPlanFile :: !(Maybe FilePath)
- bfPreBuild :: !Bool
- bfLoadPlan :: !Bool
- checkPlan :: Maybe FilePath -> IO ()
- getStackageAuthToken :: IO Text
- createPlan :: Target -> FilePath -> [Dependency] -> [PackageName] -> [PackageName] -> [PackageName] -> [PackageName] -> IO ()
- fetch :: FilePath -> IO ()
- makeBundle :: FilePath -> FilePath -> FilePath -> Target -> Maybe Int -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> IO ()
- upload :: FilePath -> StackageServer -> IO ()
- hackageDistro :: FilePath -> Target -> IO ()
- uploadGithub :: FilePath -> FilePath -> Target -> IO ()
- uploadDocs' :: Target -> FilePath -> IO ()
- checkTargetAvailable :: Target -> IO ()
Documentation
data BuildFlags Source #
Flags passed in from the command line.
Constructors
| BuildFlags | |
Fields
| |
Instances
checkPlan :: Maybe FilePath -> IO () Source #
Generate and check a new build plan, but do not execute it.
Since 0.3.1
Arguments
| :: Target | |
| -> FilePath | |
| -> [Dependency] | additional constraints |
| -> [PackageName] | newly added packages |
| -> [PackageName] | newly expected test failures |
| -> [PackageName] | newly expected bench failures |
| -> [PackageName] | newly expected haddock failures |
| -> IO () |
Arguments
| :: FilePath | plan file |
| -> FilePath | docmap file |
| -> FilePath | bundle file |
| -> Target | |
| -> Maybe Int | jobs |
| -> Bool | skip tests? |
| -> Bool | skip benches? |
| -> Bool | skip haddock? |
| -> Bool | skip hoogle? |
| -> Bool | enable library profiling? |
| -> Bool | enable executable dynamic? |
| -> Bool | verbose? |
| -> Bool | allow-newer? |
| -> Bool | no rebuild cabal? |
| -> Bool | cabal from head? |
| -> IO () |
checkTargetAvailable :: Target -> IO () Source #
Check if the given target is already used in the Github repos