platform/angel_serialize_generator/build.yaml

44 lines
1.2 KiB
YAML
Raw Normal View History

2018-03-02 19:49:47 +00:00
builders:
2018-03-02 21:23:00 +00:00
angel_serialize:
2018-12-09 22:55:52 +00:00
# target: "angel_serialize_generator"
2018-03-02 19:49:47 +00:00
import: "package:angel_serialize_generator/angel_serialize_generator.dart"
builder_factories:
2018-03-02 21:23:00 +00:00
- jsonModelBuilder
- serializerBuilder
auto_apply: root_package
2018-12-08 20:53:49 +00:00
build_to: cache
2018-03-02 19:49:47 +00:00
build_extensions:
.dart:
- "angel_serialize.g.part"
2018-12-08 20:53:49 +00:00
- "angel_serialize_serializer.g.part"
2018-08-21 21:24:53 +00:00
applies_builders: ["source_gen|combining_builder", "source_gen|part_cleanup"]
2018-12-08 20:53:49 +00:00
runs_before: ["angel_orm_generator|angel_orm"]
2018-12-09 22:55:52 +00:00
typescript:
# target: "angel_serialize_generator"
import: "package:angel_serialize_generator/angel_serialize_generator.dart"
builder_factories:
- typescriptDefinitionBuilder
auto_apply: root_package
build_to: source
build_extensions:
.dart:
- ".d.ts"
2018-03-02 21:23:00 +00:00
targets:
_book:
sources:
- "test/models/book.dart"
- "test/models/game_pad_button.dart"
2018-06-27 05:36:57 +00:00
- "test/models/with_enum.dart"
2018-03-29 19:58:36 +00:00
_typescript_definition:
sources:
- "test/*.dart"
2018-03-02 21:23:00 +00:00
$default:
dependencies:
- ":_book"
sources:
2018-11-03 07:13:19 +00:00
- "bin/**"
- "lib/**"
- "web/**"
2018-03-02 21:23:00 +00:00
- "test/models/author.dart"
- "test/models/game_pad.dart"