Distribution.Types.TargetInfo

Cabal-2.4.0.1: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.Types.TargetInfo

Synopsis

- data TargetInfo = TargetInfo {
  - targetCLBI :: ComponentLocalBuildInfo
  - targetComponent :: Component
  }

# Documentation

data TargetInfo #

The `TargetInfo` contains all the information necessary to build a specific target (e.g., componentmodulefile) in a package. In principle, one can get the `Component` from a `ComponentLocalBuildInfo` and `LocalBuildInfo`, but it is much more convenient to have the component in hand.

Constructors

TargetInfo |
Fields targetCLBI :: ComponentLocalBuildInfo targetComponent :: Component

Instances

IsNode TargetInfo # |
Instance details Defined in Distribution.Types.TargetInfo Associated Types type Key TargetInfo :: Type # Methods nodeKey :: TargetInfo -> Key TargetInfo # nodeNeighbors :: TargetInfo -> [Key TargetInfo] #
type Key TargetInfo # |
Instance details Defined in Distribution.Types.TargetInfo type Key TargetInfo = UnitId