Copyright | Jürgen Nicklisch-Franken 2010 |
---|---|
License | BSD3 |
Maintainer | cabal-devel@haskell.org |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Pretty printing for cabal files
Synopsis
- writeGenericPackageDescription :: FilePath -> GenericPackageDescription -> NoCallStackIO ()
- showGenericPackageDescription :: GenericPackageDescription -> String
- writePackageDescription :: FilePath -> PackageDescription -> NoCallStackIO ()
- showPackageDescription :: PackageDescription -> String
- writeHookedBuildInfo :: FilePath -> HookedBuildInfo -> NoCallStackIO ()
- showHookedBuildInfo :: HookedBuildInfo -> String
Generic package descriptions
writeGenericPackageDescription :: FilePath -> GenericPackageDescription -> NoCallStackIO () Source #
Writes a .cabal file from a generic package description
showGenericPackageDescription :: GenericPackageDescription -> String Source #
Writes a generic package description to a string
Package descriptions
writePackageDescription :: FilePath -> PackageDescription -> NoCallStackIO () Source #
Since: Cabal-2.0.0.2
showPackageDescription :: PackageDescription -> String Source #
Since: Cabal-2.0.0.2
Supplementary build information
writeHookedBuildInfo :: FilePath -> HookedBuildInfo -> NoCallStackIO () Source #
Since: Cabal-2.0.0.2
showHookedBuildInfo :: HookedBuildInfo -> String Source #
Since: Cabal-2.0.0.2