-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.rs
20 lines (18 loc) · 1013 Bytes
/
build.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use std::io::Error;
fn main() -> Result<(), Error> {
prost_build::compile_protos(
&[
"src/opentelemetry-proto/opentelemetry/proto/common/v1/common.proto",
"src/opentelemetry-proto/opentelemetry/proto/resource/v1/resource.proto",
"src/opentelemetry-proto/opentelemetry/proto/trace/v1/trace.proto",
"src/opentelemetry-proto/opentelemetry/proto/trace/v1/trace_config.proto",
"src/opentelemetry-proto/opentelemetry/proto/collector/trace/v1/trace_service.proto",
"src/opentelemetry-proto/opentelemetry/proto/metrics/v1/metrics.proto",
"src/opentelemetry-proto/opentelemetry/proto/collector/metrics/v1/metrics_service.proto",
"src/opentelemetry-proto/opentelemetry/proto/logs/v1/logs.proto",
"src/opentelemetry-proto/opentelemetry/proto/collector/logs/v1/logs_service.proto",
],
&["src/opentelemetry-proto"],
)?;
Ok(())
}