-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yaml
78 lines (75 loc) · 1.8 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
69
70
71
72
73
74
75
76
77
78
targets:
$default:
builders:
build_web_compilers|entrypoint:
generate_for:
exclude:
- "**.worker.dart"
CommonLib|file_list_builder:
options:
enabled: true
exclude:
- "**.html"
builders:
file_list_builder:
import: "package:CommonLib/src/builder/builders.dart"
builder_factories:
- fileListBuilder
build_extensions:
.filelist:
- .json
build_to: cache
auto_apply: root_package
applies_builders:
- CommonLib|file_list_cleanup_builder
defaults:
options:
enabled: false
generate_for:
include:
- web/**.filelist
- example/**.filelist
- benchmark/**.filelist
- lib/**.filelist
worker_builder:
import: "package:build_web_compilers/builders.dart"
builder_factories:
- webEntrypointBuilder
build_extensions:
.dart:
- .dart.bootstrap.js
- .dart.js
- .dart.js.map
- .dart.js.tar.gz
- .digests
required_inputs:
- .dart
- .ddc.js
- .ddc.module
- .dart2js.module
build_to: cache
auto_apply: root_package
defaults:
generate_for:
include:
- web/**.worker.dart
- example/**.worker.dart
- benchmark/**.worker.dart
- lib/**.worker.dart
options:
compiler: dart2js
dev_options:
dart2js_args:
- --no-minify
release_options:
dart2js_args:
- -O4
applies_builders:
- build_web_compilers|dart2js_archive_extractor
post_process_builders:
file_list_cleanup_builder:
import: "package:CommonLib/src/builder/builders.dart"
builder_factory: "fileListCleanupBuilder"
defaults:
release_options:
enabled: true