-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yaml
59 lines (59 loc) · 1.79 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
targets:
$default:
sources:
include:
- lib/**.dart
# required
- pubspec.*
## synthetic files
- $package$
- lib/$lib$
builders:
auto_route_generator:
# configs for the @RoutePage() generator
options:
enable_cached_builds: true
generate_for:
- lib/features/*/presentation/*/*_page.dart
auto_route_generator:auto_router_generator:
# configs for the @AutoRouterConfig() generator
options:
enable_cached_builds: true
generate_for:
- lib/app/app_router.dart
auto_route_generator:auto_router_module_generator:
enabled: false
freezed:
# configs for the @freezed generator
generate_for:
- lib/utils/*.dart
- lib/features/*/domain/*_model.dart
- lib/features/*/domain/*_entity.dart
options:
map: false
when: false
riverpod_generator:
# configs for the @riverpod generator
generate_for:
- lib/utils/*.dart
- lib/features/*/data/*_repository.dart
- lib/features/*/application/*_service.dart
flutter_gen_runner:
# configs for the flutter.assets generator
generate_for:
- $package$
json_serializable:
# configs for the @JsonSerializable generator
generate_for:
- lib/features/*/domain/*_model.dart
- lib/features/*/domain/*_entity.dart
build_version:build_version:
# configs for the packageVersion generator...
options:
output: lib/gen/version.gen.dart
envied_generator:envied:
# configs for the @Envied generator
generate_for:
- lib/env/env.dart
options:
output: lib/gen/env.g.dart