ide-backend-0.10.0: An IDE backend library

Safe HaskellNone
LanguageHaskell2010

IdeSession.Cabal

Synopsis

Documentation

runComponentCc :: RunCcArgs -> IO ExitCode Source

Run gcc via ghc, with correct parameters. Copied from bits and pieces of Distribution.Simple.GHC.

data LicenseArgs Source

Constructors

LicenseArgs 

Fields

liPackageDBStack :: PackageDBStack

3 fields from session configuration

liExtraPathDirs :: [FilePath]
 
liLicenseExc :: [String]
 
liDistDir :: FilePath

the working directory; the resulting file is written there

liStdoutLog :: FilePath
 
liStderrLog :: FilePath
 
licenseFixed :: [(String, (Maybe License, Maybe FilePath, Maybe String))]

see configLicenseFixed

liCabalsDir :: FilePath

the directory with all the .cabal files

liPkgs :: [PackageId]

the list of packages to process

Instances

buildLicsFromPkgs :: Bool -> LicenseArgs -> IO ExitCode Source

Build the concatenation of all license files from a given list of packages. See buildLicenses.