forked from dart-native/dart_native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yaml
28 lines (26 loc) · 885 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
25
26
27
28
targets:
$default:
builders:
dart_native_gen|type_builder:
enabled: true
generate_for:
exclude: ['**.dn.dart']
dart_native_gen|type_write_builder:
enabled: true
options: { 'write': true }
generate_for:
exclude: ['**.dn.dart']
builders:
type_builder:
import: "package:dart_native_gen/builder.dart"
builder_factories: ["typeBuilder"]
build_extensions: {".dart": ['.dart_native_invalid.dart']}
auto_apply: root_package
runs_before: ['dart_native_gen|type_write_builder']
build_to: source
type_write_builder:
import: 'package:dart_native_gen/builder.dart'
builder_factories: ['typeWriteBuilder', 'typeWriteOCBuilder', 'typeWriteJavaBuilder']
build_extensions: { '.dart': ['.dn.dart', '.oc.dn.dart', '.java.dn.dart'] }
auto_apply: root_package
build_to: source