platform/packages/serialize/serialize_generator/build.yaml

38 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2018-03-02 19:49:47 +00:00
builders:
2018-03-02 21:23:00 +00:00
angel_serialize:
import: "package:protevus_serialize_generator/protevus_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:
- ".protevus_serialize.g.part"
- ".protevus_serialize_serializer.g.part"
2018-08-21 21:24:53 +00:00
applies_builders: ["source_gen|combining_builder", "source_gen|part_cleanup"]
runs_before: ["protevus_orm_generator|protevus_orm"]
2018-12-09 22:55:52 +00:00
typescript:
import: "package:protevus_serialize_generator/protevus_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:
# - "protevus_serialize_generator:_book"
2019-04-08 04:41:58 +00:00
# sources:
# - "test/models/author.dart"
# - "test/models/game_pad.dart"