Distribution.Simple.HaskellSuite

Cabal-1.22.5.0: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell98

Distribution.Simple.HaskellSuite

# Documentation

configure :: Verbosity -> Maybe FilePath -> Maybe FilePath -> ProgramConfiguration -> IO (Compiler, Maybe Platform, ProgramConfiguration)

hstoolVersion :: Verbosity -> FilePath -> IO (Maybe Version)

numericVersion :: Verbosity -> FilePath -> IO (Maybe Version)

getCompilerVersion :: Verbosity -> ConfiguredProgram -> IO (String, Version)

getExtensions :: Verbosity -> ConfiguredProgram -> IO [(Extension, Flag)]

getLanguages :: Verbosity -> ConfiguredProgram -> IO [(Language, Flag)]

getInstalledPackages :: Verbosity -> PackageDBStack -> ProgramConfiguration -> IO InstalledPackageIndex

buildLib :: Verbosity -> PackageDescription -> LocalBuildInfo -> Library -> ComponentLocalBuildInfo -> IO ()

installLib

Arguments

:: Verbosity |
-> LocalBuildInfo |
-> FilePath | install location
-> FilePath | install location for dynamic libraries
-> FilePath | Build location
-> PackageDescription |
-> Library |
-> IO () |

registerPackage :: Verbosity -> InstalledPackageInfo -> PackageDescription -> LocalBuildInfo -> Bool -> PackageDBStack -> IO ()

initPackageDB :: Verbosity -> ProgramConfiguration -> FilePath -> IO ()

packageDbOpt :: PackageDB -> String