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

Stack.Constants.Config

Synopsis

Documentation

buildCachesDir Source #

Arguments

:: (HasEnvConfig env, MonadReader env m, MonadThrow m) 
=> Path Abs Dir

Package directory.

-> m (Path Abs Dir) 

The directory containing the files used for dirtiness check of source files.

configCabalMod Source #

Arguments

:: (HasEnvConfig env, MonadReader env m, MonadThrow m) 
=> Path Abs Dir

Package directory.

-> m (Path Abs File) 

The filename used for modification check of a Cabal file.

configPackageProjectRoot Source #

Arguments

:: (HasEnvConfig env, MonadReader env m, MonadThrow m) 
=> Path Abs Dir

Package directory.

-> m (Path Abs File) 

The filename used for the project root from the last build of a package.

configSetupConfigMod Source #

Arguments

:: (HasEnvConfig env, MonadReader env m, MonadThrow m) 
=> Path Abs Dir

Package directory.

-> m (Path Abs File) 

The filename used for modification check of setup-config.

distDirFromDir :: (HasEnvConfig env, MonadReader env m, MonadThrow m) => Path Abs Dir -> m (Path Abs Dir) Source #

Package's build artifacts directory.

distRelativeDir :: (HasEnvConfig env, MonadReader env m, MonadThrow m) => m (Path Rel Dir) Source #

Relative location of build artifacts.

ghciDirL :: HasBuildConfig env => Getting r env (Path Abs Dir) Source #

GHCi files directory.

hpcDirFromDir Source #

Arguments

:: (HasEnvConfig env, MonadReader env m, MonadThrow m) 
=> Path Abs Dir

Package directory.

-> m (Path Abs Dir) 

Directory for HPC work.

hpcRelativeDir :: (HasEnvConfig env, MonadReader env m, MonadThrow m) => m (Path Rel Dir) Source #

Relative location of directory for HPC work.

imageStagingDir Source #

Arguments

:: (HasConfig env, MonadReader env m, MonadThrow m) 
=> Path Abs Dir

Project root

-> Int

Index of image

-> m (Path Abs Dir)

Docker sandbox

Image staging dir from project root.

objectInterfaceDirL :: HasBuildConfig env => Getting r env (Path Abs Dir) Source #

Output .o/.hi directory.

projectDockerSandboxDir Source #

Arguments

:: (HasConfig env, MonadReader env m) 
=> Path Abs Dir

Project root

-> m (Path Abs Dir)

Docker sandbox

Docker sandbox from project root.

rootDistDirFromDir :: (HasConfig env, MonadReader env m) => Path Abs Dir -> m (Path Abs Dir) Source #

The directory containing all dist directories, including all different platform/compiler combinations.

setupConfigFromDir :: (HasEnvConfig env, MonadReader env m, MonadThrow m) => Path Abs Dir -> m (Path Abs File) Source #

Package's setup-config storing Cabal configuration.

templatesDir :: Config -> Path Abs Dir Source #

Directory for project templates.

testBuiltFile Source #

Arguments

:: (HasEnvConfig env, MonadReader env m, MonadThrow m) 
=> Path Abs Dir

Package directory

-> m (Path Abs File) 

The filename used to mark tests as having built.

testSuccessFile Source #

Arguments

:: (HasEnvConfig env, MonadReader env m, MonadThrow m) 
=> Path Abs Dir

Package directory

-> m (Path Abs File) 

The filename used to mark tests as having succeeded.

workDirFromDir :: (HasConfig env, MonadReader env m) => Path Abs Dir -> m (Path Abs Dir) Source #

Package's working directory.