platform/angel_serialize_generator/build.yaml

32 lines
724 B
YAML
Raw Normal View History

2018-03-02 19:49:47 +00:00
builders:
2018-03-02 21:23:00 +00:00
angel_serialize:
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
2018-03-29 19:58:36 +00:00
- typescriptDefinitionBuilder
2018-03-02 21:23:00 +00:00
auto_apply: root_package
build_to: source
2018-03-02 19:49:47 +00:00
build_extensions:
.dart:
- ".g.dart"
2018-03-02 21:23:00 +00:00
- ".serializer.g.dart"
2018-03-29 16:14:22 +00:00
- ".d.ts"
required_inputs:
- .dart
2018-03-02 21:23:00 +00:00
targets:
_book:
sources:
- "test/models/book.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:
- "lib/*.dart"
2018-03-02 21:23:00 +00:00
$default:
dependencies:
- ":_book"
sources:
2018-03-29 19:58:36 +00:00
- "lib/*.dart"
2018-03-02 21:23:00 +00:00
- "test/models/author.dart"