| Safe Haskell | Safe-Inferred |
|---|
Cartel.Defaults
Description
Default values for the data types in Cartel.Ast. These defaults are genrally filled in with blank values. Use these default values where you can; by doing so you help future-proof your code. Use the default as a starting point and fill in the values that you need.
- properties :: Properties
- cabal :: Cabal
- repository :: Vcs -> Maybe String -> String -> Repository
- flag :: Flag
Documentation
properties :: PropertiesSource
A default Properties. prCabalVersion is (1, 14) to
specify Cabal version 1.14; prBuildType is Simple, and
prLicense is BSD3. All other items are either the empty
String or the empty list, including the prVersion, which is
left empty.
A default Cabal. properties is used for cProperties,
and cLibrary is Nothing; all other lists are empty.
Arguments
| :: Vcs | Type of VCS in use |
| -> Maybe String | To use the |
| -> String | Repo location |
| -> Repository |
A default Repository. You must supply the VCS type,
information about the kind of repository (Head or This),
and the repository location. repoBranch and repoSubdir
are empty.