| License | BSD-3-Clause |
|---|---|
| Safe Haskell | None |
| Language | GHC2024 |
Stack.Exec
Description
Types and function related to Stack's exec, ghc, run, runghc and
runhaskell commands.
Synopsis
- data ExecOpts = ExecOpts {
- cmd :: !SpecialExecCmd
- args :: ![String]
- extra :: !ExecOptsExtra
- data SpecialExecCmd
- data ExecOptsExtra = ExecOptsExtra {
- envSettings :: !EnvSettings
- packages :: ![String]
- rtsOptions :: ![String]
- cwd :: !(Maybe FilePath)
- execCmd :: ExecOpts -> RIO Runner ()
Documentation
Type representing options for Stack's execution commands.
Constructors
| ExecOpts | |
Fields
| |
data SpecialExecCmd Source #
Type representing Stack's execution commands.
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 #
Type representing extra Stack options for Stack's execution commands.
Constructors
| ExecOptsExtra | |
Fields
| |
Instances
| Show ExecOptsExtra Source # | |
Defined in Stack.Exec Methods showsPrec :: Int -> ExecOptsExtra -> ShowS show :: ExecOptsExtra -> String # showList :: [ExecOptsExtra] -> ShowS | |