Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This is an internal module. End-users should not use it.
Synopsis
- data StackConfig
- newStackConfig :: Logger -> StackConfig
- scCommand :: StackConfig -> String
- readResolver :: StackConfig -> Maybe FilePath -> IO (Either ErrorMsg Resolver)
- readProjectCabals :: StackConfig -> Maybe FilePath -> IO (Either ErrorMsg [FilePath])
- configLocationFromText :: Text -> Either ErrorMsg FilePath
StackConfig
data StackConfig Source #
Central entity that deals with stack.yaml and stack
command.
newStackConfig :: Logger -> StackConfig Source #
scCommand :: StackConfig -> String Source #
(accessor) shell command for stack
tool.
:: StackConfig | |
-> Maybe FilePath | path to stack.yaml. If |
-> IO (Either ErrorMsg Resolver) |
Read the resolver
field in stack.yaml.