| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CabalCargs.Spec
Documentation
Specifies which compiler args from which sections should be collected.
Constructors
| Spec | |
Fields
| |
fromCmdArgs :: Args -> IO (Either Error Spec) Source #
Create a Spec by the command line arguments given to 'cabal-cargs'.
Depending on the command line arguments fromCmdArgs might behave like
fromCabalFile, if only a cabal file was given, like fromSourceFile,
if only a source file was given or like a mix of both, if a cabal file
and a source file have been given.