stack-1.9.1.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Constants.Config

Synopsis

Documentation

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

Package's build artifacts directory.

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

Package's working directory.

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

Relative location of build artifacts.

imageStagingDir Source #

Arguments

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

Project root

-> Int

Index of image

-> m (Path Abs Dir)

Docker sandbox

Image staging dir from project root.

projectDockerSandboxDir Source #

Arguments

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

Project root

-> m (Path Abs Dir)

Docker sandbox

Docker sandbox from project root.

configCacheFile Source #

Arguments

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

Package directory.

-> m (Path Abs File) 

The filename used for dirtiness check of config.

configCabalMod Source #

Arguments

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

Package directory.

-> m (Path Abs File) 

The filename used for modification check of .cabal

buildCachesDir Source #

Arguments

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

Package directory.

-> m (Path Abs Dir) 

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

testSuccessFile Source #

Arguments

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

Package directory

-> m (Path Abs File) 

The filename used to mark tests as having succeeded

testBuiltFile Source #

Arguments

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

Package directory

-> m (Path Abs File) 

The filename used to mark tests as having built

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

Relative location of directory for HPC work.

hpcDirFromDir Source #

Arguments

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

Package directory.

-> m (Path Abs Dir) 

Directory for HPC work.

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

Output .o/.hi directory.

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

GHCi files directory.

templatesDir :: Config -> Path Abs Dir Source #

Directory for project templates.