hoc/build.rs
Valentin Brandl 3990ea0a12
Add templates
2019-04-23 18:19:54 +02:00

14 lines
334 B
Rust

extern crate ructe;
extern crate vergen;
use ructe::Ructe;
use vergen::{generate_cargo_keys, ConstantsFlags};
fn main() {
let flags = ConstantsFlags::SHA_SHORT;
generate_cargo_keys(flags).expect("Unable to generate the cargo keys!");
Ructe::from_env()
.expect("ructe")
.compile_templates("templates");
}