shake-ext-2.10.0.0: Helper functions for linting with shake
Safe HaskellNone
LanguageHaskell2010

Development.Shake.Cabal

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 #