forked from Jackiu1997/pure_live
-
Notifications
You must be signed in to change notification settings - Fork 59
/
build.yaml
34 lines (34 loc) · 1.38 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
targets:
$default:
sources:
- $package$
- lib/$lib$
- proto/**
builders:
protoc_builder:
options:
# The version of the Protobuf compiler to use.
# (Default: "3.19.1", make sure to use quotation marks)
protobuf_version: "3.19.1"
# The version of the Dart protoc_plugin package to use.
# (Default: "20.0.1", make sure to use quotation marks)
protoc_plugin_version: "20.0.1"
# Directory which is treated as the root of all Protobuf files.
# (Default: "proto/")
root_dir: "proto/"
# Include paths given to the Protobuf compiler during compilation.
# (Default: ["proto/"])
proto_paths:
- "proto/"
# The root directory for generated Dart output files.
# (Default: "lib/src/proto")
out_dir: "lib/src/generated"
# Enable the gRPC flag for the Dart protoc plugin to generate `.pbgrpc.dart` files.
# (Default: false)
grpc: true
# Use the "protoc" command that's available on the PATH instead of downloading one
# (Default: false)
use_installed_protoc: false
# Whether or not the protoc_plugin Dart scripts should be precompiled for better performance.
# (Default: true)
precompile_protoc_plugin: true