-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.yaml
More file actions
23 lines (23 loc) · 717 Bytes
/
build.yaml
File metadata and controls
23 lines (23 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
builders:
# name of the builder
squadron_builder:worker_builder:
# library URI containing the builder
import: "package:squadron_builder/squadron_builder.dart"
# Name of the function in the above library to call.
builder_factories: ["workerBuilder"]
# The mapping from the source extension to the generated file extension
build_extensions:
{
".dart":
[
".worker.g.dart",
".vm.g.dart",
".web.g.dart",
".stub.g.dart",
".activator.g.dart",
],
}
# Will automatically run on any package that depends on it
auto_apply: dependents
# Generate to a hidden cache dir
build_to: source