| Cabal-1.6.0.1: A framework for packaging Haskell software | Contents | Index |
|
Distribution.Simple.SrcDist | Portability | portable | Maintainer | cabal-devel@haskell.org |
|
|
|
|
|
Description |
This handles the sdist command. The module exports an sdist action but
also some of the phases that make it up so that other tools can use just the
bits they need. In particular the preparation of the tree of files to go
into the source tarball is separated from actually building the source
tarball.
The createArchive action uses the external tar program and assumes that
it accepts the -z flag. Neither of these assumptions are valid on Windows.
The sdist action now also does some distribution QA checks.
|
|
Synopsis |
|
|
|
|
The top level action
|
|
sdist |
|
|
Parts of sdist
|
|
printPackageProblems :: Verbosity -> PackageDescription -> IO () |
|
prepareTree |
|
|
createArchive |
|
|
Snaphots
|
|
prepareSnapshotTree |
|
|
snapshotPackage :: CalendarTime -> PackageDescription -> PackageDescription |
Modifies a PackageDescription by appending a snapshot number
corresponding to the given date.
|
|
snapshotVersion :: CalendarTime -> Version -> Version |
Modifies a Version by appending a snapshot number corresponding
to the given date.
|
|
dateToSnapshotNumber :: CalendarTime -> Int |
Given a date produce a corresponding integer representation.
For example given a date 18032008 produce the number 20080318.
|
|
Produced by Haddock version 2.3.0 |