hoc/build.rs
Valentin Brandl 3d26823425
All checks were successful
continuous-integration/drone/push Build is passing
Fix breaking changes in vergen
2021-02-26 16:12:58 +01:00

15 lines
320 B
Rust

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