Copyright | (c) David Waern 2008 |
---|---|
License | BSD-like |
Maintainer | david.waern@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Anonymous build report data structure, printing and parsing
Synopsis
- data BuildReport = BuildReport {}
- data InstallOutcome
- data Outcome
- newBuildReport :: OS -> Arch -> CompilerId -> PackageIdentifier -> FlagAssignment -> [PackageIdentifier] -> BuildOutcome -> BuildReport
- parseBuildReport :: ByteString -> Either String BuildReport
- parseBuildReportList :: ByteString -> [BuildReport]
- showBuildReport :: BuildReport -> String
- cabalInstallID :: PackageIdentifier
Documentation
data BuildReport Source #
BuildReport | |
|
Instances
data InstallOutcome Source #
PlanningFailed | |
DependencyFailed PackageIdentifier | |
DownloadFailed | |
UnpackFailed | |
SetupFailed | |
ConfigureFailed | |
BuildFailed | |
TestsFailed | |
InstallFailed | |
InstallOk |
Instances
Instances
Parsec Outcome Source # | |
Defined in Distribution.Client.BuildReports.Types parsec :: CabalParsing m => m Outcome # | |
Pretty Outcome Source # | |
Defined in Distribution.Client.BuildReports.Types prettyVersioned :: CabalSpecVersion -> Outcome -> Doc # | |
Bounded Outcome Source # | |
Enum Outcome Source # | |
Generic Outcome Source # | |
Show Outcome Source # | |
Eq Outcome Source # | |
type Rep Outcome Source # | |
Defined in Distribution.Client.BuildReports.Types type Rep Outcome = D1 ('MetaData "Outcome" "Distribution.Client.BuildReports.Types" "cabal-install-3.10.2.0-IMfebDWOh21KOLH8kGuCe9" 'False) (C1 ('MetaCons "NotTried" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Failed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ok" 'PrefixI 'False) (U1 :: Type -> Type))) |
Constructing and writing reports
newBuildReport :: OS -> Arch -> CompilerId -> PackageIdentifier -> FlagAssignment -> [PackageIdentifier] -> BuildOutcome -> BuildReport Source #
parsing and pretty printing
parseBuildReportList :: ByteString -> [BuildReport] Source #
showBuildReport :: BuildReport -> String Source #