forked from susatthi/github-search
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.yaml
More file actions
48 lines (47 loc) · 1.62 KB
/
build.yaml
File metadata and controls
48 lines (47 loc) · 1.62 KB
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
# Copyright 2022 susatthi All rights reserved.
# Use of this source code is governed by a MIT license that can be
# found in the LICENSE file.
targets:
$default:
builders:
source_gen|combining_builder:
options:
ignore_for_file:
- type=lint
- implicit_dynamic_parameter
- implicit_dynamic_type
- implicit_dynamic_method
- strict_raw_type
freezed:
generate_for:
include:
- lib/application/**/*.dart
- lib/domain/**/*.dart
- lib/infrastructure/**/json_object/*.dart
- lib/presentation/**/*.dart
json_serializable:
generate_for:
include:
- lib/application/**/*.dart
- lib/domain/**/*.dart
- lib/infrastructure/**/json_object/*.dart
- lib/presentation/**/*.dart
fast_i18n:
options:
# 入力ファイルへのパス
input_directory: lib/util/localization
# 入力ファイル名の拡張子
input_file_pattern: .i18n.json
# 出力ファイルへのパス
output_directory: lib/util/localization
# 出力ファイル名
output_file_name: strings.g.dart
# 言語リソースにアクセスするグローバルな変数名
translate_var: i18n
# 配列アクセスを禁止する場合はfalseに設定
flat_map: false
# 複数系に対応しない場合はoffに設定
pluralization:
auto: off
# タイムスタンプは出力しない
timestamp: false