-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.yaml
33 lines (33 loc) · 932 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
29
30
31
32
33
targets:
$default:
sources:
- lib/**
# Note that it is important to include these in the default target.
- pubspec.*
- $package$
builders:
json_serializable:
options:
explicit_to_json: true
generate_for:
- lib/app/service/*.dart
- lib/app/service/**/*.dart
- lib/data/**/*.dart
- lib/http/dto/*.dart
retrofit_generator:
generate_for:
- lib/http/api/*.dart
injectable_generator:injectable_builder:
generate_for:
- lib/di/*.dart
- lib/app/service/*.dart
- lib/app/service/**/*.dart
- lib/http/dio_module.dart
- lib/http/repository/*.dart
freezed:
generate_for:
- lib/app/service/dto/*.dart
- lib/data/**/*.dart
- lib/**/*_cubit.dart
- lib/**/*_bloc.dart
- lib/**/*_state.dart