build_barback: ^0.5.0+4 copied to clipboard
Utilities for translating between builders and transformers.
Allows wrapping up a
Builder as a
Transformer so that it can be run in
Builder from Pub #
Builder instance with
new BuilderTransformer(builder) and use it
like any other Transformer. The Builder used this way must follow the rules of
other Transformers, it cannot use inputs from outside the package where the
Transformer is specified in pubspec.yaml
Using an exisiting
Transformer instance with
new TransformerBuilder(transformer) and
run as any other
Builder. The Transformer instance used this way must follow
the rules of other Builders:
- It cannot overwrite files it uses as inputs.
- It must know before building what the outputs will be (it must be a
Features and bugs #
Please file feature requests and bugs at the issue tracker.