From ccf7505303c8095931aca93fe47a95f043046496 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Tue, 16 Apr 2019 21:33:33 -0400 Subject: [PATCH] Restore build.yaml --- angel_orm_generator/CHANGELOG.md | 3 +++ angel_orm_generator/build.yaml | 42 ++++++++++++++++++++++++++++++++ angel_orm_generator/pubspec.yaml | 2 +- 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 angel_orm_generator/build.yaml diff --git a/angel_orm_generator/CHANGELOG.md b/angel_orm_generator/CHANGELOG.md index 16e85ce0..76bf6fc0 100644 --- a/angel_orm_generator/CHANGELOG.md +++ b/angel_orm_generator/CHANGELOG.md @@ -1,3 +1,6 @@ +# 2.0.0+1 +* Restore `build.yaml`, which at some point, got deleted. + # 2.0.0 * `parse` -> `tryParse` where used. diff --git a/angel_orm_generator/build.yaml b/angel_orm_generator/build.yaml new file mode 100644 index 00000000..ef954f9b --- /dev/null +++ b/angel_orm_generator/build.yaml @@ -0,0 +1,42 @@ +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 \ No newline at end of file diff --git a/angel_orm_generator/pubspec.yaml b/angel_orm_generator/pubspec.yaml index d0f583d9..ddebd4a2 100644 --- a/angel_orm_generator/pubspec.yaml +++ b/angel_orm_generator/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_orm_generator -version: 2.0.0 +version: 2.0.0+1 description: Code generators for Angel's ORM. Generates query builder classes. author: Tobe O homepage: https://github.com/angel-dart/orm