mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-30 16:19:35 +00:00
protos: move .proto
files to more conventional src/protos/
This commit is contained in:
parent
36ae9421ad
commit
a59724b082
4 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue