Viewing version 0.0.2. Open the latest package page.
build_barback
0.0.2Utilities for translating between builders and transformers.
Readme
Build Status Coverage Status
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.
Changelog
0.0.2
- Fix a bug forwarding logs from a
BuilderTransformer
0.0.1
- Initial separate release - split off from
buildpackage.
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'build_barback:0.0.2'pubspec.yaml
name: build_barback
version: 0.0.2
description: Utilities for translating between builders and transformers.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/build
environment:
sdk: '>=1.9.1 <2.0.0'
dependencies:
analyzer: ">=0.27.1 <0.30.0"
build: ^0.6.0
barback: ^0.15.0
code_transformers: ">=0.4.2+3 <0.6.0"
crypto: ">=0.9.2 <3.0.0"
logging: ^0.11.2
glob: ^1.1.0
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
dev_dependencies:
build_test:
path: ../build_test
test: ^0.12.0
transformer_test: ^0.2.0
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.0.1 | Cached · Upstream SHA-256 matched | Download | dfb8cfdb…f407c3 |
| 0.0.2 | Cached · Upstream SHA-256 matched | Download | 646d02f1…3fef1c |
| 0.0.3 | Cached · Upstream SHA-256 matched | Download | 6b532f2f…3c3bd0 |
| 0.1.0 | Cached · Upstream SHA-256 matched | Download | dceb9fa0…6ebec2 |
| 0.1.1 | Cached · Upstream SHA-256 matched | Download | 1c9fd2c3…b2a687 |
| 0.1.2 | Cached · Upstream SHA-256 matched | Download | c7e47fec…007b33 |
| 0.2.0 | Cached · Upstream SHA-256 matched | Download | 0726479c…964cb7 |
| 0.2.2 | Cached · Upstream SHA-256 matched | Download | 81f27124…e45118 |
| 0.3.0 | Cached · Upstream SHA-256 matched | Download | 15c8f33e…85c540 |
| 0.4.0 | Cached · Upstream SHA-256 matched | Download | 5317d965…dcf4e8 |
| 0.4.0+1 | Cached · Upstream SHA-256 matched | Download | b96fc395…502958 |
| 0.4.0+2 | Cached · Upstream SHA-256 matched | Download | 88ffd147…1baea4 |
| 0.5.0 | Cached · Upstream SHA-256 matched | Download | 46657a87…2e6210 |
| 0.5.0+1 | Cached · Upstream SHA-256 matched | Download | 19f8dbe0…1eab9d |
| 0.5.0+2 | Cached · Upstream SHA-256 matched | Download | 11a779f3…391b3b |
| 0.5.0+3 | Cached · Upstream SHA-256 matched | Download | 8704f762…b29c6d |
| 0.5.0+4 | Cached · Upstream SHA-256 matched | Download | c74c9ec3…d8bffd |
Dependencies
analyzer "\u003e=0.27.1 \u003c0.30.0"
barback "^0.15.0"
build "^0.6.0"
code_transformers "\u003e=0.4.2+3 \u003c0.6.0"
crypto "\u003e=0.9.2 \u003c3.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"