cabal-install-3.10.1.0: The command-line interface for Cabal and Hackage.
Copyright(c) Brent Yorgey 2009
LicenseBSD-like
Maintainercabal-devel@haskell.org
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.Init.FileCreators

Contents

Description

Functions to create files during 'cabal init'.

Synopsis

Commands

writeLicense :: Interactive m => WriteOpts -> PkgDescription -> m () Source #

Write the LICENSE file.

For licenses that contain the author's name(s), the values are taken from the authors field of InitFlags, and if not specified will be the string "???".

If the license type is unknown no license file will be prepared and a warning will be raised.

writeChangeLog :: Interactive m => WriteOpts -> PkgDescription -> m () Source #

Writes the changelog to the current directory.