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