forked from AlbertoMonteiro/FlutterAutoExport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yaml
24 lines (23 loc) · 817 Bytes
/
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
targets:
$default:
builders:
flutter_auto_export_first:
enabled: true
flutter_auto_export_second:
enabled: true
builders:
flutter_auto_export_first:
import: "package:files_exporter/files_exporter.dart"
builder_factories: ["exporterGeneratorBuilder"]
build_extensions: { ".dart": [".exports"] }
auto_apply: dependents
build_to: cache
applies_builders: ["source_gen|combining_builder"]
runs_before: ["files_exporter:flutter_auto_export_second"]
flutter_auto_export_second:
import: "package:files_exporter/files_exporter.dart"
builder_factories: ["exportsBuilder"]
build_extensions: { "$lib$": [".exports.dart"] }
auto_apply: dependents
build_to: source
applies_builders: ["source_gen|combining_builder"]