-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.yaml
36 lines (35 loc) · 1022 Bytes
/
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
builders:
stormberry:
import: "package:stormberry/builder.dart"
builder_factories: [ "analyzeSchema" ]
build_extensions: { ".dart": ["___"] }
auto_apply: dependents
build_to: cache
runs_before: [":schema", ":runner"]
schema:
import: "package:stormberry/builder.dart"
builder_factories: [ "buildSchema" ]
build_extensions: { ".dart": [ ".schema.dart" ] }
auto_apply: dependents
build_to: source
runs_before: ["dart_mappable_builder", "freezed", "json_serializable"]
runner:
import: "package:stormberry/builder.dart"
builder_factories: [ "buildRunner" ]
build_extensions: { ".dart": [ ".schema.json" ] }
auto_apply: dependents
build_to: cache
targets:
$default:
builders:
stormberry:
generate_for:
- test/**/*.dart
stormberry|schema:
generate_for:
- test/**/*.dart
stormberry|runner:
generate_for:
- test/**/*.dart
build_test:test_bootstrap:
enabled: false