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

Safe Haskell | None
Language | Haskell2010

Distribution.Client.Init.Simple

Contents

- Project creation
- Gen targets

Synopsis

- createProject :: Interactive m => Verbosity -> InstalledPackageIndex -> SourcePackageDb -> InitFlags -> m ProjectSettings
- genSimplePkgDesc :: Interactive m => InitFlags -> m PkgDescription
- genSimpleLibTarget :: Interactive m => InitFlags -> m LibTarget
- genSimpleExeTarget :: Interactive m => InitFlags -> m ExeTarget
- genSimpleTestTarget :: Interactive m => InitFlags -> m (Maybe TestTarget)

# Project creation

createProject :: Interactive m => Verbosity -> InstalledPackageIndex -> SourcePackageDb -> InitFlags -> m ProjectSettings #

# Gen targets

genSimplePkgDesc :: Interactive m => InitFlags -> m PkgDescription #

genSimpleLibTarget :: Interactive m => InitFlags -> m LibTarget #

genSimpleExeTarget :: Interactive m => InitFlags -> m ExeTarget #

genSimpleTestTarget :: Interactive m => InitFlags -> m (Maybe TestTarget) #