protos: move .proto files to more conventional src/protos/

This commit is contained in:
Martin von Zweigbergk 2022-05-03 16:34:28 -07:00 committed by Martin von Zweigbergk
parent 36ae9421ad
commit a59724b082
4 changed files with 4 additions and 4 deletions

View file

@ -26,15 +26,15 @@ fn main() {
std::fs::create_dir(&out_dir).unwrap(); std::fs::create_dir(&out_dir).unwrap();
let input = &[ let input = &[
"protos/op_store.proto", "src/protos/op_store.proto",
"protos/store.proto", "src/protos/store.proto",
"protos/working_copy.proto", "src/protos/working_copy.proto",
]; ];
protobuf_codegen::Codegen::new() protobuf_codegen::Codegen::new()
.pure() .pure()
.out_dir(out_dir) .out_dir(out_dir)
.inputs(input) .inputs(input)
.include("protos") .include("src/protos")
.cargo_out_dir("protos") .cargo_out_dir("protos")
.run() .run()
.expect("protoc"); .expect("protoc");