stack-3.1.1: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.PackageFile

Description

The facility for retrieving all files from the main Stack Package type. This was moved into its own module to allow component-level file-gathering without circular dependency at the Package level.

Synopsis

Documentation

data GetPackageFileContext Source #

Instances

Instances details
HasPantryConfig GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasLogFunc GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasProcessContext GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasTerm GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasStylesUpdate GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasBuildConfig GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasConfig GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasGHCVariant GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasPlatform GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

HasRunner GetPackageFileContext Source # 
Instance details

Defined in Stack.Types.PackageFile

data DotCabalPath Source #

A path resolved from the Cabal file, which is either main-is or an exposedinternalreferenced module.

data PackageWarning Source #

Warning generated when reading a package

Constructors

UnlistedModulesWarning NamedComponent [ModuleName]

Modules found that are not listed in Cabal file TODO: bring this back - see https://github.com/commercialhaskell/stack/issues/2649

data StackPackageFile Source #

This is the information from Cabal we need at the package level to track files.

Instances

Instances details
Show StackPackageFile Source # 
Instance details

Defined in Stack.Types.PackageFile