cabal-install-3.12.1.0: The command-line interface for Cabal and Hackage.

Copyright | (c) Brent Yorgey 2009
License | BSD-like
Maintainer | cabal-devel@haskell.org
Stability | provisional
Portability | portable
Safe Haskell | None
Language | Haskell2010

Distribution.Client.Init.Defaults

Contents

- default init values
- MyLib defaults

Description

Default values to use in cabal init (if not specified in config/flags).

Synopsis

- defaultApplicationDir :: String
- defaultSourceDir :: String
- defaultCabalVersion :: CabalSpecVersion
- defaultCabalVersions :: [CabalSpecVersion]
- defaultPackageType :: PackageType
- defaultLicense :: CabalSpecVersion -> SpecLicense
- defaultLicenseIds :: [LicenseId]
- defaultMainIs :: HsFilePath
- defaultChangelog :: FilePath
- defaultCategories :: [String]
- defaultInitFlags :: InitFlags
- defaultLanguage :: Language
- defaultVersion :: Version
- defaultTestDir :: String
- myLibModule :: ModuleName
- myLibTestFile :: HsFilePath
- myLibFile :: HsFilePath
- myLibHs :: String
- myExeHs :: [String]
- myLibExeHs :: [String]
- myTestHs :: String

# default init values

defaultApplicationDir :: String #

defaultSourceDir :: String #

defaultCabalVersion :: CabalSpecVersion #

defaultCabalVersions :: [CabalSpecVersion] #

defaultPackageType :: PackageType #

defaultLicense :: CabalSpecVersion -> SpecLicense #

defaultLicenseIds :: [LicenseId] #

defaultMainIs :: HsFilePath #

defaultChangelog :: FilePath #

defaultCategories :: [String] #

defaultInitFlags :: InitFlags #

defaultLanguage :: Language #

defaultVersion :: Version #

defaultTestDir :: String #

# MyLib defaults

myLibModule :: ModuleName #

myLibTestFile :: HsFilePath #

myLibFile :: HsFilePath #

myLibHs :: String #

Default MyLib.hs file. Used when no Lib.hs exists.

myExeHs :: [String] #

myLibExeHs :: [String] #

myTestHs :: String #

Default MyLibTest.hs file.