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