platform/angel_orm_generator/build.yaml
2019-04-02 11:29:12 -04:00

41 lines
No EOL
1.1 KiB
YAML

builders:
angel_orm:
import: "package:angel_orm_generator/angel_orm_generator.dart"
builder_factories:
- migrationBuilder
- ormBuilder
auto_apply: root_package
build_to: cache
build_extensions:
.dart:
- ".angel_migration.g.part"
- ".angel_orm.g.part"
required_inputs:
- angel_serialize.g.part
- angel_serialize_serializer.g.part
applies_builders:
- angel_serialize_generator|angel_serialize
- source_gen|combining_builder
- source_gen|part_cleanup"
targets:
_standalone:
sources:
- test/models/author.dart
- test/models/car.dart
- test/models/customer.dart
- test/models/foot.dart
- test/models/fruit.dart
- test/models/has_map.dart
- test/models/role.dart
$default:
dependencies:
- angel_serialize_generator
- :_standalone
sources:
- test/models/book.dart
- test/models/has_car.dart
- test/models/leg.dart
- test/models/order.dart
- test/models/tree.dart
- test/models/user.dart