summaryrefslogtreecommitdiff
path: root/src/build.rs
blob: f2e2ec293f6c0a9231cfd2d402101ee46958272f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate capnpc;

fn main() {
    capnpc::CompilerCommand::new()
        .output_path(".")
        .file("src/testresult.capnp")
        .run()
        .expect("compiling schema");

    capnpc::CompilerCommand::new()
        .output_path(".")
        .file("src/worker.capnp")
        .run()
        .expect("compiling schema");
}