mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-03 21:04:28 +00:00
Revert "Merge pull request #200 from sigp/new-structure"
This reverts commitd7a3545be1, reversing changes made to1da06c156c.
This commit is contained in:
10
protos/build.rs
Normal file
10
protos/build.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
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!");
|
||||
}
|
||||
Reference in New Issue
Block a user