~starkingdoms/starkingdoms

ref: 06bf8871a9654d0f1cbef43db57f67d62b8838c1 starkingdoms/protocol/build.rs -rw-r--r-- 493 bytes
06bf8871 — ghostlyzsh fixed cargo bounding boxes and weights 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    protobuf_codegen::Codegen::new()
        .cargo_out_dir("protos")
        .include("src/pbuf")
        .input("src/pbuf/starkingdoms-protocol.proto")
        .input("src/pbuf/message_c2s.proto")
        .input("src/pbuf/message_s2c.proto")
        .input("src/pbuf/planet.proto")
        .input("src/pbuf/player.proto")
        .input("src/pbuf/state.proto")
        .input("src/pbuf/goodbye_reason.proto")
        .input("src/pbuf/module.proto")
        .run_from_script();
}