Copyright | Copyright 2017 Awake Security |
---|---|
License | Apache-2.0 |
Maintainer | opensource@awakesecurity.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
This module contains a type representing a build
declaration in the
parsed Ninja AST, along with any supporting or related types.
Since: 0.1.0
- data Build ann
- makeBuild :: Monoid ann => Text -> Env Text Text -> Build ann
- buildRule :: Lens' (Build ann) Text
- buildEnv :: Lens' (Build ann) (Env Text Text)
- buildDeps :: Lens' (Build ann) (Deps ann)
- buildBind :: Lens' (Build ann) (HashMap Text Text)
- type BuildConstraint c ann = (DepsConstraint c ann, c Text, c (HashMap Text Text), c (Maps Text Text), c ann)
Build
A parsed Ninja build
declaration.
Since: 0.1.0
Functor Build Source # | |
Foldable Build Source # | |
Traversable Build Source # | |
Annotated Build Source # | The usual definition for Since: 0.1.0 |
(Monad m, BuildConstraint (Serial m) ann) => Serial m (Build ann) Source # | Default Since: 0.1.0 |
(Monad m, BuildConstraint (CoSerial m) ann) => CoSerial m (Build ann) Source # | Default Since: 0.1.0 |
Eq ann => Eq (Build ann) Source # | |
Show ann => Show (Build ann) Source # | |
Generic (Build ann) Source # | |
Arbitrary ann => Arbitrary (Build ann) Source # | Reasonable Since: 0.1.0 |
Hashable ann => Hashable (Build ann) Source # | Default Since: 0.1.0 |
ToJSON ann => ToJSON (Build ann) Source # | Converts to Since: 0.1.0 |
FromJSON ann => FromJSON (Build ann) Source # | Inverse of the Since: 0.1.0 |
NFData ann => NFData (Build ann) Source # | Default Since: 0.1.0 |
type Rep (Build ann) Source # | |
Construct a Build
with all default values.
Since: 0.1.0
buildRule :: Lens' (Build ann) Text Source #
A lens into the rule name associated with a Build
.
Since: 0.1.0
buildEnv :: Lens' (Build ann) (Env Text Text) Source #
A lens into the environment associated with a Build
.
Since: 0.1.0
buildDeps :: Lens' (Build ann) (Deps ann) Source #
A lens into the dependencies associated with a Build
.
Since: 0.1.0