Macro tera::compile_templates [−][src]
macro_rules! compile_templates { ($glob:expr) => { ... }; }
Compile templates or exits process
Takes a glob as only argument. If it fails, it will print all the errors and exit the process
ⓘThis example is not tested
let mut tera = compile_templates!("templates/**/*");