mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-02 18:01:05 +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();
|
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");
|
||||||
|
|
Loading…
Reference in a new issue