Skip to content

Commit

Permalink
Automatically apply mockito codegen
Browse files Browse the repository at this point in the history
Since this also uses `build_to: source` only the root package will auto apply the builder, and only if it mentions `mockito` as a direct dependency in the pubspec.

PiperOrigin-RevId: 336960382
  • Loading branch information
natebosch authored and srawlins committed Oct 19, 2020
1 parent 39c8429 commit a196fcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.yaml
Expand Up @@ -4,3 +4,4 @@ builders:
builder_factories: ["buildMocks"]
build_extensions: {".dart": [".mocks.dart"]}
build_to: source
auto_apply: dependents

0 comments on commit a196fcb

Please sign in to comment.