Restore build.yaml

This commit is contained in:
Tobe O 2019-04-16 21:33:33 -04:00
parent 8fc3902955
commit ccf7505303
3 changed files with 46 additions and 1 deletions

View file

@ -1,3 +1,6 @@
# 2.0.0+1
* Restore `build.yaml`, which at some point, got deleted.
# 2.0.0
* `parse` -> `tryParse` where used.

View file

@ -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

View file

@ -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 <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/orm