From a59724b0827f360c261a4f5f45efcb9234f7766b Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Tue, 3 May 2022 16:34:28 -0700 Subject: [PATCH] protos: move `.proto` files to more conventional `src/protos/` --- lib/build.rs | 8 ++++---- lib/{ => src}/protos/op_store.proto | 0 lib/{ => src}/protos/store.proto | 0 lib/{ => src}/protos/working_copy.proto | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename lib/{ => src}/protos/op_store.proto (100%) rename lib/{ => src}/protos/store.proto (100%) rename lib/{ => src}/protos/working_copy.proto (100%) diff --git a/lib/build.rs b/lib/build.rs index 8a0278cda..d08cd6eb5 100644 --- a/lib/build.rs +++ b/lib/build.rs @@ -26,15 +26,15 @@ fn main() { std::fs::create_dir(&out_dir).unwrap(); let input = &[ - "protos/op_store.proto", - "protos/store.proto", - "protos/working_copy.proto", + "src/protos/op_store.proto", + "src/protos/store.proto", + "src/protos/working_copy.proto", ]; protobuf_codegen::Codegen::new() .pure() .out_dir(out_dir) .inputs(input) - .include("protos") + .include("src/protos") .cargo_out_dir("protos") .run() .expect("protoc"); diff --git a/lib/protos/op_store.proto b/lib/src/protos/op_store.proto similarity index 100% rename from lib/protos/op_store.proto rename to lib/src/protos/op_store.proto diff --git a/lib/protos/store.proto b/lib/src/protos/store.proto similarity index 100% rename from lib/protos/store.proto rename to lib/src/protos/store.proto diff --git a/lib/protos/working_copy.proto b/lib/src/protos/working_copy.proto similarity index 100% rename from lib/protos/working_copy.proto rename to lib/src/protos/working_copy.proto