summaryrefslogtreecommitdiffstats
path: root/store/build.rs
blob: d7bd89d361c595b622deab00599e0539dd9c4464 (plain)
1
2
3
4
5
6
7
8
9
10
extern crate capnpc;

fn capnp(src: &str) {
    println!("rerun-if-changed={}", src);
    ::capnpc::CompilerCommand::new().file(src).run().unwrap();
}

fn main() {
    capnp("src/store_protocol.capnp");
}