Safe Haskell | None |
---|---|
Language | Haskell2010 |
- buildDeps :: Strict Maybe Computed -> IO ([ModuleName], [PackageId])
- externalDeps :: Monad m => [PackageId] -> m [Dependency]
- configureAndBuild :: BuildExeArgs -> [(ModuleName, FilePath)] -> IO ExitCode
- configureAndHaddock :: BuildExeArgs -> IO ExitCode
- generateMacros :: PackageDBStack -> [FilePath] -> IO String
- buildDotCabal :: FilePath -> [FilePath] -> [String] -> Computed -> IO (String -> Version -> ByteString)
- runComponentCc :: RunCcArgs -> IO ExitCode
- data BuildExeArgs = BuildExeArgs {}
- data RunCcArgs = RunCcArgs {}
- data LicenseArgs = LicenseArgs {
- liPackageDBStack :: PackageDBStack
- liExtraPathDirs :: [FilePath]
- liLicenseExc :: [String]
- liDistDir :: FilePath
- liStdoutLog :: FilePath
- liStderrLog :: FilePath
- licenseFixed :: [(String, (Maybe License, Maybe FilePath, Maybe String))]
- liCabalsDir :: FilePath
- liPkgs :: [PackageId]
- data ExeCabalRequest
- data ExeCabalResponse
- buildLicsFromPkgs :: Bool -> LicenseArgs -> IO ExitCode
Documentation
externalDeps :: Monad m => [PackageId] -> m [Dependency] Source
configureAndBuild :: BuildExeArgs -> [(ModuleName, FilePath)] -> IO ExitCode Source
generateMacros :: PackageDBStack -> [FilePath] -> IO String Source
buildDotCabal :: FilePath -> [FilePath] -> [String] -> Computed -> IO (String -> Version -> ByteString) Source
runComponentCc :: RunCcArgs -> IO ExitCode Source
Run gcc via ghc, with correct parameters.
Copied from bits and pieces of Distribution.Simple.GHC
.
data BuildExeArgs Source
BuildExeArgs | |
|
RunCcArgs | |
|
data LicenseArgs Source
LicenseArgs | |
|
data ExeCabalRequest Source
data ExeCabalResponse Source
buildLicsFromPkgs :: Bool -> LicenseArgs -> IO ExitCode Source
Build the concatenation of all license files from a given list
of packages. See buildLicenses
.