Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ProjectData = ProjectData {
- repo :: Text
- owner :: Text
- description :: Text
- nm :: Text
- email :: Text
- year :: Text
- category :: Text
- license :: Text
- licenseText :: Text
- github :: Bool
- travis :: Bool
- appVey :: Bool
- script :: Bool
- isLib :: Bool
- isExe :: Bool
- test :: Bool
- bench :: Bool
- testedVersions :: [GhcVer]
- base :: Text
- prelude :: Maybe CustomPrelude
- extensions :: [Text]
- cabal :: Bool
- stack :: Bool
- data GhcVer
- supportedGhcVers :: [GhcVer]
- parseGhcVer :: Text -> Maybe GhcVer
- showGhcVer :: GhcVer -> Text
- latestLts :: GhcVer -> Text
- baseNopreludeVer :: GhcVer -> Text
- data Decision
- data CustomPrelude = Prelude {}
- data Answer
- yesOrNo :: Text -> Maybe Answer
Documentation
data ProjectData Source #
Data needed for project creation.
ProjectData | |
|
Instances
Show ProjectData Source # | |
Defined in Summoner.ProjectData showsPrec :: Int -> ProjectData -> ShowS # show :: ProjectData -> String # showList :: [ProjectData] -> ShowS # |
Represents some selected set of GHC versions.
supportedGhcVers :: [GhcVer] Source #
Supported by summoner
GHC versions for project templates.
latestLts :: GhcVer -> Text Source #
Returns latest known LTS resolver for all GHC versions except default one.
baseNopreludeVer :: GhcVer -> Text Source #
Used for detecting the user decision during CLI input.
Instances
data CustomPrelude Source #
Instances
Show CustomPrelude Source # | |
Defined in Summoner.ProjectData showsPrec :: Int -> CustomPrelude -> ShowS # show :: CustomPrelude -> String # showList :: [CustomPrelude] -> ShowS # |