Cabal-1.4.0.0: A framework for packaging Haskell softwareContentsIndex
Distribution.Simple.Configure
Portabilityportable
Stabilityalpha
MaintainerIsaac Jones <ijones@syntaxpolice.org>
Description
Explanation: Perform the "./setup configure" action. Outputs the dist/setup-config file.
Synopsis
writePersistBuildConfig :: FilePath -> LocalBuildInfo -> IO ()
getPersistBuildConfig :: FilePath -> IO LocalBuildInfo
maybeGetPersistBuildConfig :: FilePath -> IO (Maybe LocalBuildInfo)
tryGetConfigStateFile :: Read a => FilePath -> IO (Either String a)
Documentation
writePersistBuildConfig :: FilePath -> LocalBuildInfo -> IO ()
After running configure, output the LocalBuildInfo to the localBuildInfoFile.
getPersistBuildConfig :: FilePath -> IO LocalBuildInfo
Read the localBuildInfoFile. Error if it doesn't exist. Also fail if the file containing LocalBuildInfo is older than the .cabal file, indicating that a re-configure is required.
maybeGetPersistBuildConfig :: FilePath -> IO (Maybe LocalBuildInfo)
Try to read the localBuildInfoFile.
tryGetConfigStateFile :: Read a => FilePath -> IO (Either String a)
Produced by Haddock version 0.8