sc2-proto 0.2.0-alpha.0

protocol buffers for the StarCraft II Client API
extern crate protoc_rust;

fn main() {
    if let Err(e) = protoc_rust::run(protoc_rust::Args {
        out_dir: "src/",
        includes: &["s2client-proto/"],
        input: &[
            "s2client-proto/s2clientprotocol/common.proto",
            "s2client-proto/s2clientprotocol/data.proto",
            "s2client-proto/s2clientprotocol/debug.proto",
            "s2client-proto/s2clientprotocol/error.proto",
            "s2client-proto/s2clientprotocol/query.proto",
            "s2client-proto/s2clientprotocol/raw.proto",
            "s2client-proto/s2clientprotocol/sc2api.proto",
            "s2client-proto/s2clientprotocol/score.proto",
            "s2client-proto/s2clientprotocol/spatial.proto",
            "s2client-proto/s2clientprotocol/ui.proto",
        ],
    }) {
        panic!("{:#?}", e);
    } else {
        println!("protobufs were generated successfully");
    }
}