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();
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");