# build_barback 0.0.2

Utilities for translating between builders and transformers.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'build_barback:0.0.2'
```
Published: 2016-12-02T20:32:35.851Z
Expected archive SHA-256: 646d02f140633293881adefd0a30330109f5cced190828a839faa12f2d3fef1c

Available in cache; verification: upstream_checksum
## Direct dependencies
- analyzer: >=0.27.1 <0.30.0
- barback: ^0.15.0
- build: ^0.6.0
- code_transformers: >=0.4.2+3 <0.6.0
- crypto: >=0.9.2 <3.0.0
- glob: ^1.1.0
- logging: ^0.11.2
- path: ^1.1.0
- shelf: ^0.6.5
- shelf_static: ^0.2.3
- stack_trace: ^1.6.0
- watcher: ^0.9.7
- yaml: ^2.1.0

## Package README (untrusted upstream documentation)
# [![Build Status](https://travis-ci.org/dart-lang/build.svg?branch=master)](https://travis-ci.org/dart-lang/build) [![Coverage Status](https://coveralls.io/repos/dart-lang/build/badge.svg?branch=master)](https://coveralls.io/r/dart-lang/build)

# `build_barback`

Allows wrapping up a `Builder` as a `Transformer` so that it can be run in `pub`
or vice-versa.

## Using a `Builder` from Pub

Wrap the `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` with `package:build`

Wrap the `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
  `DeclaringTransformer`).

## Features and bugs

Please file feature requests and bugs at the [issue tracker][tracker].

[tracker]: https://github.com/dart-lang/build/issues

## Changelog
## 0.0.2

- Fix a bug forwarding logs from a `BuilderTransformer`

## 0.0.1

- Initial separate release - split off from `build` package.







 
