platform/angel_orm_generator/build.yaml

42 lines
1.1 KiB
YAML
Raw Normal View History

2019-04-17 01:33:33 +00:00
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
- test/models/unorthodox.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