forked from Intersubjective/tentura
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.yaml
71 lines (58 loc) · 1.71 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
60
61
62
63
64
65
66
67
68
69
70
71
targets:
$default:
builders:
drift_dev:
options:
named_parameters: true
auto_route_generator:auto_route_generator:
generate_for:
- lib/**_screen.dart
auto_route_generator:auto_router_generator:
generate_for:
- lib/app/router/root_router.dart
freezed:
options:
equal: true
copy_with: true
format: false
when: false
map: false
ferry_generator|graphql_builder:
enabled: true
options:
schema: tentura|lib/data/gql/schema.graphql
vars_create_factories: true
output_dir: "_g"
type_overrides:
timestamptz:
name: DateTime
tstzrange:
name: DateTimeRange
import: "package:flutter/material.dart"
ferry_generator|serializer_builder:
enabled: true
options:
schema: tentura|lib/data/gql/schema.graphql
output_dir: "_g"
type_overrides:
timestamptz:
name: DateTime
tstzrange:
name: DateTimeRange
import: "package:flutter/material.dart"
custom_serializers:
- import: "package:tentura/data/gql/timestamptz_serializer.dart"
name: TimestamptzSerializer
- import: "package:tentura/data/gql/tstzrange_serializer.dart"
name: TstzrangeSerializer
build_web_compilers:entrypoint:
generate_for:
- web/**.dart
options:
compiler: dart2js
dev_options:
dart2js_args:
- --no-minify
release_options:
dart2js_args:
- -O4