summaryrefslogblamecommitdiffstats
path: root/src/build.rs
blob: 16c887cc200d0dbbafa3c1eb8561c538cf902c06 (plain) (tree)
1
2
3
4
5
6
7
8







                                            
use ructe::{Result, Ructe};

fn main() -> Result<()> {
    let mut ructe = Ructe::from_env()?;
    ructe.statics()?.add_files("./static")?;
    // .add_sass_file("./style.scss")?;
    ructe.compile_templates("templates")
}