optimize template loading
This commit is contained in:
@@ -20,7 +20,7 @@ fn main() {
|
||||
specs::compile(&args.devices, &args.env.spec_path, dbg);
|
||||
|
||||
for spec in specifications {
|
||||
let result = tmpls::process_templates(&spec, dbg).ok().unwrap();
|
||||
let result = RenderedConfig::from_spec(&spec, dbg).ok().unwrap();
|
||||
output_rendered_configs(result, &args.env.out_path, dbg)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user