Copyright | Copyright 2017 Awake Security |
---|---|
License | Apache-2.0 |
Maintainer | opensource@awakesecurity.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Types relating to Ninja build targets, outputs, and dependencies.
Since: 0.1.0
- data Target
- makeTarget :: Text -> Target
- targetIText :: Iso' Target IText
- targetText :: Iso' Target Text
- data Output
- makeOutput :: Target -> Output
- outputTarget :: Lens' Output Target
- data Dependency
- makeDependency :: Target -> DependencyType -> Dependency
- dependencyTarget :: Lens' Dependency Target
- dependencyType :: Lens' Dependency DependencyType
- data DependencyType
- _NormalDependency :: Prism' DependencyType ()
- _OrderOnlyDependency :: Prism' DependencyType ()
Target
This type represents a Ninja target name.
Since: 0.1.0
Eq Target Source # | |
Ord Target Source # | |
Read Target Source # | |
Show Target Source # | |
IsString Target Source # | |
Generic Target Source # | |
Hashable Target Source # | |
ToJSON Target Source # | |
ToJSONKey Target Source # | |
FromJSON Target Source # | |
FromJSONKey Target Source # | |
NFData Target Source # | |
(Monad m, Serial m Text) => Serial m Target Source # | Uses the underlying Since: 0.1.0 |
(Monad m, CoSerial m Text) => CoSerial m Target Source # | Uses the underlying Since: 0.1.0 |
type Rep Target Source # | |
targetIText :: Iso' Target IText Source #
An isomorphism between a Target
and its underlying IText
.
Since: 0.1.0
Output
Eq Output Source # | |
Ord Output Source # | |
Read Output Source # | |
Show Output Source # | |
Generic Output Source # | |
Hashable Output Source # | Default Since: 0.1.0 |
ToJSON Output Source # | Converts to Since: 0.1.0 |
FromJSON Output Source # | Inverse of the Since: 0.1.0 |
NFData Output Source # | Default Since: 0.1.0 |
(Monad m, Serial m Text) => Serial m Output Source # | Default Since: 0.1.0 |
(Monad m, CoSerial m Text) => CoSerial m Output Source # | Default Since: 0.1.0 |
type Rep Output Source # | |
Dependency
data Dependency Source #
Eq Dependency Source # | |
Ord Dependency Source # | |
Read Dependency Source # | |
Show Dependency Source # | |
Generic Dependency Source # | |
Hashable Dependency Source # | Default Since: 0.1.0 |
ToJSON Dependency Source # | Converts to Since: 0.1.0 |
FromJSON Dependency Source # | Inverse of the Since: 0.1.0 |
NFData Dependency Source # | Default Since: 0.1.0 |
(Monad m, Serial m Text) => Serial m Dependency Source # | Default Since: 0.1.0 |
(Monad m, CoSerial m Text) => CoSerial m Dependency Source # | Default Since: 0.1.0 |
type Rep Dependency Source # | |
:: Target | The underlying target. |
-> DependencyType | The dependency type (normal, implicit, or order-only). |
-> Dependency |
Construct a Dependency
.
Since: 0.1.0
dependencyTarget :: Lens' Dependency Target Source #
A lens for the Target
of a Dependency
.
Since: 0.1.0
dependencyType :: Lens' Dependency DependencyType Source #
A lens for the DependencyType
of a Dependency
.
Since: 0.1.0
data DependencyType Source #
The type of a Dependency
: normal, implicit, or order-only.
Since: 0.1.0
NormalDependency | A normal dependency. Since: 0.1.0 |
OrderOnlyDependency | An order-only dependency. These are only rebuilt if there is at least one non-order-only dependency that is out of date. Section 4.3 "Types of Prerequisites" in the GNU Make manual has a good explanation of this concept. Since: 0.1.0 |
Eq DependencyType Source # | |
Ord DependencyType Source # | |
Read DependencyType Source # | |
Show DependencyType Source # | |
Generic DependencyType Source # | |
Hashable DependencyType Source # | Default Since: 0.1.0 |
ToJSON DependencyType Source # | Converts to Since: 0.1.0 |
FromJSON DependencyType Source # | Inverse of the Since: 0.1.0 |
NFData DependencyType Source # | Default Since: 0.1.0 |
Monad m => Serial m DependencyType Source # | Default Since: 0.1.0 |
Monad m => CoSerial m DependencyType Source # | Default Since: 0.1.0 |
type Rep DependencyType Source # | |
_NormalDependency :: Prism' DependencyType () Source #
A prism for the NormalDependency
constructor.
Since: 0.1.0
_OrderOnlyDependency :: Prism' DependencyType () Source #
A prism for the OrderOnlyDependency
constructor.
Since: 0.1.0