Safe Haskell | None |
---|---|
Language | Haskell2010 |
Constants used throughout the project.
- builtConfigFileFromDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs File)
- builtFileFromDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs File)
- configuredFileFromDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs File)
- defaultShakeThreads :: Int
- distDirFromDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs Dir)
- distRelativeDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => m (Path Rel Dir)
- haskellFileExts :: [Text]
- projectDockerSandboxDir :: Path Abs Dir -> Path Abs Dir
- rawGithubUrl :: Text -> Text -> Text -> Text -> Text
- stackDotYaml :: Path Rel File
- stackRootEnvVar :: String
- userDocsDir :: Config -> Path Abs Dir
- configCacheFile :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs File)
- configCabalMod :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs File)
- buildCacheFile :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs File)
- stackProgName :: String
- wiredInPackages :: HashSet PackageName
- cabalPackageName :: PackageName
- implicitGlobalDir :: Path Abs Dir -> Path Abs Dir
- hpcDirFromDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs Dir)
- dotHpc :: Path Rel Dir
Documentation
builtConfigFileFromDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs File) Source
The filename used for completed build indicators.
builtFileFromDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs File) Source
The filename used for completed build indicators.
configuredFileFromDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs File) Source
The filename used for completed configure indicators.
defaultShakeThreads :: Int Source
Default shake thread count for parallel builds.
distDirFromDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => Path Abs Dir -> m (Path Abs Dir) Source
Package's build artifacts directory.
distRelativeDir :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) => m (Path Rel Dir) Source
Relative location of build artifacts.
haskellFileExts :: [Text] Source
Extensions used for Haskell files.
projectDockerSandboxDir :: Path Abs Dir -> Path Abs Dir Source
Docker sandbox from project root.
:: Text | user/org name |
-> Text | repo name |
-> Text | branch name |
-> Text | filename |
-> Text |
Get a URL for a raw file on Github
stackDotYaml :: Path Rel File Source
The filename used for the stack config file.
stackRootEnvVar :: String Source
Environment variable used to override the '~/.stack' location.
userDocsDir :: Config -> Path Abs Dir Source
User documentation directory.
:: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) | |
=> Path Abs Dir | Package directory. |
-> m (Path Abs File) |
The filename used for dirtiness check of config.
:: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) | |
=> Path Abs Dir | Package directory. |
-> m (Path Abs File) |
The filename used for modification check of .cabal
:: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) | |
=> Path Abs Dir | Package directory. |
-> m (Path Abs File) |
The filename used for dirtiness check of source files.
stackProgName :: String Source
Name of the stack
program.
wiredInPackages :: HashSet PackageName Source
cabalPackageName :: PackageName Source
Just to avoid repetition and magic strings.
:: Path Abs Dir | Stack root. |
-> Path Abs Dir |
Implicit global directory used when outside of a project.
:: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env) | |
=> Path Abs Dir | Package directory. |
-> m (Path Abs Dir) |
Directory for HPC work.