Safe Haskell | Safe |
---|---|
Language | Haskell98 |
DDC.Build.Spec
- data Spec = Spec {
- specVersion :: String
- specComponents :: [Component]
- data Component
- = SpecLibrary { }
- | SpecExecutable { }
- specFieldsLibrary :: [(String, Bool)]
Documentation
A build specification. This specifies how to build a particular library or exectutable, and is equivalent to a Haskell Cabal file.
Constructors
Spec | |
Fields
|
A build component.
Constructors
SpecLibrary | |
Fields
| |
SpecExecutable | |
Fields
|
specFieldsLibrary :: [(String, Bool)] Source #
Names of all allowable fields in library metadata, and whether each field is nessesary or optional.