-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.yaml
68 lines (64 loc) · 1.74 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:
sources:
include:
- lib/**
builders:
test_html_builder:
import: "package:test_html_builder/builder.dart"
builder_factories:
- testHtmlBuilder
build_extensions:
$test$:
- templates/default_template.html
- test_html_builder_config.json
$package$:
- test/templates/default_template.html
- test/test_html_builder_config.json
auto_apply: root_package
build_to: cache
runs_before:
- build_test:test_bootstrap
- test_html_builder:aggregator
- test_html_builder:dart_test_yaml
- test_html_builder:templates
applies_builders:
- test_html_builder:aggregator
- test_html_builder:dart_test_yaml
- test_html_builder:templates
test_html_builder:aggregator:
import: "package:test_html_builder/builder.dart"
builder_factories:
- aggregateTestBuilder
build_extensions:
_template.html:
- _template.browser_aggregate_test.dart
build_to: source
is_optional: true
runs_before:
- test_html_builder:dart_test_yaml
- test_html_builder:templates
- build_test:test_bootstrap
defaults:
generate_for:
- test/**
test_html_builder:templates:
import: "package:test_html_builder/builder.dart"
builder_factories:
- templateBuilder
build_extensions:
_test.dart:
- _test.html
build_to: cache
defaults:
generate_for:
- test/**
test_html_builder:dart_test_yaml:
import: "package:test_html_builder/builder.dart"
builder_factories:
- dartTestYamlBuilder
build_extensions:
$package$:
- dart_test.browser_aggregate.yaml
- test/dart_test.browser_aggregate.yaml
build_to: source