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

Be careful when using this code, it's not being tested!
let mut tera = compile_templates!("templates/**/*");