forked from Workiva/over_react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yaml
46 lines (41 loc) · 1.31 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
42
43
44
45
46
builders:
overReactBuilder:
import: "package:over_react/builder.dart"
builder_factories: ["overReactBuilder"]
build_extensions: {".dart" : [".over_react.g.dart"]}
auto_apply: dependents
build_to: cache
# Builder just for this package.
_over_react_local_builder:
import: "lib/builder.dart"
builder_factories: ["overReactBuilder"]
build_extensions: {".dart" : [".over_react.g.dart"]}
auto_apply: none
build_to: source
targets:
$default:
builders:
over_react|_over_react_local_builder:
enabled: true
generate_for:
exclude:
# This tests un-built behavior, and therefore should not be built
- "test/over_react/component_declaration/builder_helpers_test.dart"
over_react|overReactBuilder:
enabled: false
# builder uses mirrors and will cause a build to fail when using build web compilers
# vm tests require the use of mirrors
build_web_compilers|ddc:
generate_for:
include:
- "example/**"
- "lib/**"
- "test/**"
- "web/**"
exclude:
- "lib/src/builder/**"
build_web_compilers|entrypoint:
generate_for:
- "example/**.dart"
- "test/*.browser_test.dart"
- "web/*.dart"