Cabal-1.2.0: A framework for packaging Haskell software
Contents
Index
Distribution.Simple.Configure
Portability
portable
Stability
alpha
Maintainer
Isaac Jones <ijones@syntaxpolice.org>
Description
Explanation: Perform the "
./setup configure
" action. Outputs the
dist/setup-config
file.
Synopsis
configure
:: (
Either
GenericPackageDescription
PackageDescription
,
HookedBuildInfo
) ->
ConfigFlags
->
IO
LocalBuildInfo
writePersistBuildConfig
::
LocalBuildInfo
->
IO
()
getPersistBuildConfig
::
IO
LocalBuildInfo
maybeGetPersistBuildConfig
::
IO
(
Maybe
LocalBuildInfo
)
localBuildInfoFile
::
FilePath
getInstalledPackages
::
Verbosity
->
Compiler
->
PackageDB
->
ProgramConfiguration
->
IO
(
Maybe
[
PackageIdentifier
])
configDependency
::
Verbosity
-> [
PackageIdentifier
] ->
Dependency
->
IO
PackageIdentifier
configCompiler
::
Maybe
CompilerFlavor
->
Maybe
FilePath
->
Maybe
FilePath
->
ProgramConfiguration
->
Verbosity
->
IO
(
Compiler
,
ProgramConfiguration
)
configCompilerAux
::
ConfigFlags
->
IO
(
Compiler
,
ProgramConfiguration
)
Documentation
configure
:: (
Either
GenericPackageDescription
PackageDescription
,
HookedBuildInfo
) ->
ConfigFlags
->
IO
LocalBuildInfo
Perform the "
./setup configure
" action. Returns the
.setup-config
file.
writePersistBuildConfig
::
LocalBuildInfo
->
IO
()
After running configure, output the
LocalBuildInfo
to the
localBuildInfoFile
.
getPersistBuildConfig
::
IO
LocalBuildInfo
Read the
localBuildInfoFile
. Error if it doesn't exist.
maybeGetPersistBuildConfig
::
IO
(
Maybe
LocalBuildInfo
)
Try to read the
localBuildInfoFile
.
localBuildInfoFile
::
FilePath
dist/setup-config
getInstalledPackages
::
Verbosity
->
Compiler
->
PackageDB
->
ProgramConfiguration
->
IO
(
Maybe
[
PackageIdentifier
])
configDependency
::
Verbosity
-> [
PackageIdentifier
] ->
Dependency
->
IO
PackageIdentifier
Test for a package dependency and record the version we have installed.
configCompiler
::
Maybe
CompilerFlavor
->
Maybe
FilePath
->
Maybe
FilePath
->
ProgramConfiguration
->
Verbosity
->
IO
(
Compiler
,
ProgramConfiguration
)
configCompilerAux
::
ConfigFlags
->
IO
(
Compiler
,
ProgramConfiguration
)
Produced by
Haddock
version 0.8