forked from flutterdata/flutter_data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yaml
41 lines (38 loc) · 1.33 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
targets:
$default:
builders:
flutter_data|data_repository_builder:
generate_for:
- test/_support/*
- example/lib/models/*
flutter_data|data_library_intermediate_builder:
generate_for:
- test/_support/*
- example/lib/models/*
flutter_data|data_library_builder:
generate_for:
- /*
- example/*
builders:
data_repository_builder:
import: "package:flutter_data/builders/repository_builder.dart"
builder_factories: ["repositoryBuilder"]
build_extensions: { ".dart": [".flutter_data.g.part"] }
auto_apply: dependents
build_to: cache
applies_builders: ["source_gen|combining_builder"]
required_inputs: [".freezed.dart"]
data_library_intermediate_builder:
import: "package:flutter_data/builders/data_library_builder.dart"
builder_factories: ["dataExtensionIntermediateBuilder"]
build_extensions: { ".dart": [".flutter_data.info"] }
auto_apply: dependents
build_to: cache
runs_before: ["data_library_builder"]
data_library_builder:
import: "package:flutter_data/builders/data_library_builder.dart"
builder_factories: ["dataExtensionBuilder"]
build_extensions: { ".flutter_data.info": [".dart"] }
auto_apply: dependents
required_inputs: [".flutter_data.info"]
build_to: source