Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Distribution.Client.SrcDist
Description
Utilities to implement cabal v2-sdist
.
Synopsis
- allPackageSourceFiles :: Verbosity -> FilePath -> IO [FilePath]
- packageDirToSdist :: Verbosity -> GenericPackageDescription -> FilePath -> IO ByteString
Documentation
allPackageSourceFiles :: Verbosity -> FilePath -> IO [FilePath] #
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.