-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathbuild.yaml
More file actions
34 lines (31 loc) · 970 Bytes
/
build.yaml
File metadata and controls
34 lines (31 loc) · 970 Bytes
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
targets:
$default:
builders:
drift_dev:
# disable drift's default builder, we're using the modular setup
# instead.
enabled: false
# Instead, enable drift_dev:analyzer and drift_dev:modular manually:
drift_dev:analyzer:
enabled: true
generate_for:
- lib/src/database/**
- lib/src/model/**
options: &options
databases:
cloud_hub_database: lib/src/database/cloud_hub_database.dart
schema_dir: drift_schema/
test_dir: test/database/
sql:
dialect: sqlite
options:
version: "3.38"
named_parameters: true
store_date_time_values_as_text: false
drift_dev:modular:
enabled: true
generate_for:
- lib/src/database/**
- lib/src/model/**
# We use yaml anchors to give the two builders the same options
options: *options