Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Types and functions related to Stack's ide
command.
Synopsis
- data OutputStream
- data ListPackagesCmd
- idePackagesCmd :: (OutputStream, ListPackagesCmd) -> RIO Runner ()
- ideTargetsCmd :: ((Bool, Bool, Bool), OutputStream) -> RIO Runner ()
- listPackages :: HasBuildConfig env => OutputStream -> ListPackagesCmd -> RIO env ()
- listTargets :: forall env. HasBuildConfig env => OutputStream -> (NamedComponent -> Bool) -> RIO env ()
Documentation
data OutputStream Source #
OutputLogInfo | To the same output stream as other log information. |
OutputStdout | To the standard output stream. |
data ListPackagesCmd Source #
ListPackageNames | Package names. |
ListPackageCabalFiles | Paths to Cabal files. |
idePackagesCmd :: (OutputStream, ListPackagesCmd) -> RIO Runner () Source #
Function underlying the stack ide packages
command. List packages in the
project.
ideTargetsCmd :: ((Bool, Bool, Bool), OutputStream) -> RIO Runner () Source #
Function underlying the stack ide targets
command. List targets in the
project.
listPackages :: HasBuildConfig env => OutputStream -> ListPackagesCmd -> RIO env () Source #
List the packages inside the current project.
listTargets :: forall env. HasBuildConfig env => OutputStream -> (NamedComponent -> Bool) -> RIO env () Source #
List the targets in the current project.