Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ActionType
- data ActionId = ActionId !PackageIdentifier !ActionType
- data ActionContext = ActionContext {
- acRemaining :: !(Set ActionId)
- acDownstream :: [Action]
- acConcurrency :: !Concurrency
- data Action = Action {
- actionId :: !ActionId
- actionDeps :: !(Set ActionId)
- actionDo :: !(ActionContext -> IO ())
- actionConcurrency :: !Concurrency
- data Concurrency
- runActions :: Int -> Bool -> [Action] -> (TVar Int -> TVar (Set ActionId) -> IO ()) -> IO [SomeException]
Documentation
data ActionType Source #
Type representing types of Stack build actions.
ATBuild | Action for building a package's library and executables. If
|
ATBuildFinal | Task for building the package's benchmarks and test-suites. Requires that the library was already built. |
ATRunTests | Task for running the package's test-suites. |
ATRunBenchmarks | Task for running the package's benchmarks. |
Instances
Show ActionType Source # | |
Defined in Control.Concurrent.Execute showsPrec :: Int -> ActionType -> ShowS # show :: ActionType -> String # showList :: [ActionType] -> ShowS # | |
Eq ActionType Source # | |
Defined in Control.Concurrent.Execute (==) :: ActionType -> ActionType -> Bool # (/=) :: ActionType -> ActionType -> Bool # | |
Ord ActionType Source # | |
Defined in Control.Concurrent.Execute compare :: ActionType -> ActionType -> Ordering # (<) :: ActionType -> ActionType -> Bool # (<=) :: ActionType -> ActionType -> Bool # (>) :: ActionType -> ActionType -> Bool # (>=) :: ActionType -> ActionType -> Bool # max :: ActionType -> ActionType -> ActionType # min :: ActionType -> ActionType -> ActionType # |
Types representing the unique ids of Stack build actions.
data ActionContext Source #
ActionContext | |
|
Type representing Stack build actions.
Action | |
|
data Concurrency Source #
Type representing permissions for actions to be run concurrently with others.
Instances
Eq Concurrency Source # | |
Defined in Control.Concurrent.Execute (==) :: Concurrency -> Concurrency -> Bool # (/=) :: Concurrency -> Concurrency -> Bool # |