summaryrefslogtreecommitdiffstats
path: root/src/build.rs
blob: 46d590c344bcfcf01f7d46b5d0a17b0f8ef62c79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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")
}