mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-20 18:41:11 +00:00
35c914baa6
This reverts commit d7a3545be1fc061064baae04b27efb9479ff2b2d, reversing changes made to 1da06c156ca8ede604da437bf824d2c8aef34207.
11 lines
313 B
Rust
11 lines
313 B
Rust
extern crate protoc_grpcio;
|
|
|
|
use std::path::Path;
|
|
|
|
fn main() {
|
|
let proto_root = Path::new("src");
|
|
println!("cargo:rerun-if-changed={}", proto_root.display());
|
|
protoc_grpcio::compile_grpc_protos(&["services.proto"], &[proto_root], &proto_root)
|
|
.expect("Failed to compile gRPC definitions!");
|
|
}
|