Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getCabalDeps :: FilePath -> IO (Version, [FilePath])
- getCabalDepsV :: Verbosity -> FilePath -> IO (Version, [FilePath])
- getCabalDepsA :: FilePath -> Action (Version, [FilePath])
- shakeVerbosityToCabalVerbosity :: Verbosity -> Verbosity
- data HsCompiler
- platform :: String
- hsCompiler :: HsCompiler -> String
- prettyShow :: Pretty a => a -> String
Documentation
getCabalDeps :: FilePath -> IO (Version, [FilePath]) Source #
Get library dependencies from a .cabal
file. This will only work for
.hs
files; module signatures are not supported.
getCabalDepsA :: FilePath -> Action (Version, [FilePath]) Source #
Get cabal dependencies, respecting verbosity level given to shake.
shakeVerbosityToCabalVerbosity :: Verbosity -> Verbosity Source #
Assign each shake Verbosity
level to a Cabal Verbosity
level.
Types
data HsCompiler Source #
Helper functions
hsCompiler :: HsCompiler -> String Source #
Reëxports from Distribution.Version
prettyShow :: Pretty a => a -> String #