cabal-install-3.10.1.0: The command-line interface for Cabal and Hackage.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.SrcDist

Description

Utilities to implement cabal v2-sdist.

Synopsis

Documentation

allPackageSourceFiles :: Verbosity -> FilePath -> IO [FilePath] Source #

List all source files of a given add-source dependency. Exits with error if something is wrong (e.g. there is no .cabal file in the given directory).

Used in sandbox and projectbuilding. TODO: when sandboxes are removed, move to ProjectBuilding.

packageDirToSdist Source #

Arguments

:: Verbosity 
-> GenericPackageDescription

read in GPD

-> FilePath

directory containing that GPD

-> IO ByteString

resulting sdist tarball

Create a tarball for a package in a directory