Safe Haskell | None |
---|---|
Language | Haskell2010 |
New-style .travis.yml
script generator using cabal 1.24's nix-style
tech-preview facilities.
See also https://github.com/haskell-CI/haskell-ci
NB: This code deliberately avoids relying on non-standard packages and is expected to compile/work with at least GHC 7.0 through GHC 8.0
Synopsis
- main :: IO ()
- data Result e a
- data Diagnostic
- parseOptsNoCommands :: [String] -> IO (Options, [String], FilePath, [String])
- formatDiagnostic :: Diagnostic -> String
- formatDiagnostics :: [Diagnostic] -> String
- travisFromConfigFile :: MonadIO m => ([String], Options) -> FilePath -> [String] -> YamlWriter m ()
- type MakeTravisOutput = Result Diagnostic [String]
- data Options = Options {}
- defOptions :: Options
- options :: [OptDescr (Result Diagnostic (Options -> Options))]
Documentation
for tests
data Diagnostic Source #
Instances
Eq Diagnostic Source # | |
Defined in MakeTravisYml (==) :: Diagnostic -> Diagnostic -> Bool # (/=) :: Diagnostic -> Diagnostic -> Bool # | |
Show Diagnostic Source # | |
Defined in MakeTravisYml showsPrec :: Int -> Diagnostic -> ShowS # show :: Diagnostic -> String # showList :: [Diagnostic] -> ShowS # |
formatDiagnostic :: Diagnostic -> String Source #
formatDiagnostics :: [Diagnostic] -> String Source #
travisFromConfigFile :: MonadIO m => ([String], Options) -> FilePath -> [String] -> YamlWriter m () Source #
type MakeTravisOutput = Result Diagnostic [String] Source #
defOptions :: Options Source #