Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Stack.Exec
Description
Types and function related to Stack's exec
, ghc
, run
, runghc
and
runhaskell
commands.
Synopsis
- data ExecOpts = ExecOpts {
- eoCmd :: !SpecialExecCmd
- eoArgs :: ![String]
- eoExtra :: !ExecOptsExtra
- data SpecialExecCmd
- data ExecOptsExtra = ExecOptsExtra {
- eoEnvSettings :: !EnvSettings
- eoPackages :: ![String]
- eoRtsOptions :: ![String]
- eoCwd :: !(Maybe FilePath)
- execCmd :: ExecOpts -> RIO Runner ()
Documentation
Constructors
ExecOpts | |
Fields
|
data SpecialExecCmd Source #
Constructors
ExecCmd String | |
ExecRun | |
ExecGhc | |
ExecRunGhc |
Instances
Show SpecialExecCmd Source # | |
Defined in Stack.Exec Methods showsPrec :: Int -> SpecialExecCmd -> ShowS # show :: SpecialExecCmd -> String # showList :: [SpecialExecCmd] -> ShowS # | |
Eq SpecialExecCmd Source # | |
Defined in Stack.Exec Methods (==) :: SpecialExecCmd -> SpecialExecCmd -> Bool # (/=) :: SpecialExecCmd -> SpecialExecCmd -> Bool # |
data ExecOptsExtra Source #
Constructors
ExecOptsExtra | |
Fields
|
Instances
Show ExecOptsExtra Source # | |
Defined in Stack.Exec Methods showsPrec :: Int -> ExecOptsExtra -> ShowS # show :: ExecOptsExtra -> String # showList :: [ExecOptsExtra] -> ShowS # |