-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yaml
68 lines (67 loc) · 1.92 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
targets:
$default:
builders:
dart_ast_json|resolver: # put AST JSON on a diet
enabled: True
dart_ast_json|enumBuilder: # enums
enabled: True
dart_ast_json|typedefBuilder: # typedefs
enabled: True
dart_ast_json|functionBuilder: # functions
enabled: True
dart_ast_json|structBuilder: # structs
enabled: True
dart_ast_json|extensionBuilder: # extensions
enabled: True
builders:
resolver:
import: 'package:dart_ast_json/generators.dart'
builder_factories: ['resolver']
build_extensions:
.json:
- .ejson
- .fjson
- .sjson
- .tjson
auto_apply: dependents
build_to: cache
enumBuilder:
import: 'package:dart_ast_json/generators.dart'
builder_factories: ['enumBuilder']
build_extensions:
"$lib$": [ ".e.dart" ]
required_inputs: ['.ejson']
auto_apply: dependents
build_to: source
typedefBuilder:
import: 'package:dart_ast_json/generators.dart'
builder_factories: ['typedefBuilder']
build_extensions:
"$lib$": [ ".t.dart" ]
required_inputs: ['.tjson', '.fjson']
auto_apply: dependents
build_to: source
functionBuilder:
import: 'package:dart_ast_json/generators.dart'
builder_factories: ['functionBuilder']
build_extensions:
"$lib$": [ ".f.dart" ]
required_inputs: ['.tjson', '.fjson']
auto_apply: dependents
build_to: source
structBuilder:
import: 'package:dart_ast_json/generators.dart'
builder_factories: ['structBuilder']
build_extensions:
"$lib$": [ ".s.dart" ]
required_inputs: ['.tjson', '.sjson']
auto_apply: dependents
build_to: source
extensionBuilder:
import: 'package:dart_ast_json/generators.dart'
builder_factories: ['extensionBuilder']
build_extensions:
"$lib$": [ ".x.dart" ]
required_inputs: [ '.layout' ]
auto_apply: dependents
build_to: source