-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.yaml
36 lines (35 loc) · 1.17 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
# Read about `build.yaml` at https://pub.dartlang.org/packages/build_config
targets:
$default:
sources:
{"exclude" : ["bin/**"]}
builders:
build_web_compilers|dart2js_archive_extractor:
options:
filter_outputs: true
build_web_compilers|entrypoint:
generate_for:
- example/coin/example.dart
- example/goblins/example.dart
- example/hero/example.dart
- example/powerup/example.dart
- example/raptor/example.dart
- example/spineboy/example.dart
- example/stretchyman/example.dart
- example/tank/example.dart
- example/texture_atlas/example.dart
- example/vine/example.dart
dev_options:
compiler: dartdevc
release_options:
compiler: dart2js
dart2js_args:
# See https://webdev.dartlang.org/tools/dart2js#size-and-speed-options
# - --dump-info
- --fast-startup
- --minify
- --no-frequency-based-minification
- --no-source-maps
- --show-package-warnings
- --trust-primitives
- --omit-implicit-checks