platform/packages/serialize/angel_serialize_generator/build.yaml

38 lines
1.1 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:
2021-07-25 10:47:41 +00:00
import: "package:angel3_serialize_generator/angel3_serialize_generator.dart"
2018-03-02 19:49:47 +00:00
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:
2021-07-25 10:47:41 +00:00
- ".angel3_serialize.g.part"
- ".angel3_serialize_serializer.g.part"
2018-08-21 21:24:53 +00:00
applies_builders: ["source_gen|combining_builder", "source_gen|part_cleanup"]
2021-07-25 10:47:41 +00:00
runs_before: ["angel3_orm_generator|angel3_orm"]
2018-12-09 22:55:52 +00:00
typescript:
2021-07-25 10:47:41 +00:00
import: "package:angel3_serialize_generator/angel3_serialize_generator.dart"
2018-12-09 22:55:52 +00:00
builder_factories:
- typescriptDefinitionBuilder
auto_apply: root_package
build_to: source
build_extensions:
.dart:
- ".d.ts"
2019-04-08 04:41:58 +00:00
# targets:
# _book:
# sources:
# - "test/models/book.dart"
# - "test/models/has_map.dart"
# - "test/models/goat.dart"
# - "test/models/game_pad_button.dart"
# - "test/models/with_enum.dart"
# $default:
# dependencies:
# - "angel_serialize_generator:_book"
# sources:
# - "test/models/author.dart"
# - "test/models/game_pad.dart"