Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
A module which exports all package-level file-gathering logic.
Synopsis
- getPackageFile :: (HasEnvConfig s, MonadReader s m, MonadThrow m, MonadUnliftIO m) => Package -> Path Abs File -> m PackageComponentFile
- stackPackageFileFromCabal :: PackageDescription -> StackPackageFile
Documentation
getPackageFile :: (HasEnvConfig s, MonadReader s m, MonadThrow m, MonadUnliftIO m) => Package -> Path Abs File -> m PackageComponentFile Source #
Gets all of the modules, files, build files, and data files that constitute the package. This is primarily used for dirtiness checking during build, as well as use by "stack ghci"
stackPackageFileFromCabal :: PackageDescription -> StackPackageFile Source #