Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Fix build_runner crashes. (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
matanlurey authored Feb 10, 2018
1 parent cd54ee5 commit 36b5eb6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.0.3

* Fix a bug that caused all downstream users of `code_builder` to crash due to
`build_runner` trying to import our private builder (in `tool/`). Sorry for
the inconvenience.

## 3.0.2

* Require `source_gen: ^0.7.5`.
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,16 @@ will be on a best-effort basis.
### Updating generated (`.g.dart`) files
> **NOTE**: There is currently a limitation in `build_runner` that requires
> a workaround for developing this package. We expect this to be unnecessary
> in the future.
Use [`build_runner`][build_runner]:
```bash
$ mv build.disabled.yaml build.yaml
$ pub run build_runner build --delete-conflicting-outputs
$ mv build.yaml build.disabled.yaml
```
[build_runner]: https://pub.dartlang.org/packages/build_runner
File renamed without changes.
3 changes: 2 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: code_builder
version: 3.0.2
version: 3.0.3
description: A fluent API for generating Dart code
author: Dart Team <[email protected]>
homepage: https://github.com/dart-lang/code_builder
Expand All @@ -14,6 +14,7 @@ dependencies:
meta: ^1.0.5

dev_dependencies:
build: ^0.12.0
build_runner: ^0.7.9
built_value_generator: ^5.1.0
dart_style: ^1.0.0
Expand Down

0 comments on commit 36b5eb6

Please sign in to comment.