shake-cabal-0.1.0.2: Shake library for use with cabal

Safe HaskellNone
LanguageHaskell2010

Development.Shake.Cabal

Contents

Synopsis

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 #

Constructors

GHC 

Fields

GHCJS 

Fields

Helper functions

platform :: String Source #

E.g. x86_64-linux

Reëxports from Distribution.Version

prettyShow :: Pretty a => a -> String #