diff options
Diffstat (limited to 'src/build.rs')
-rw-r--r-- | src/build.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/build.rs b/src/build.rs new file mode 100644 index 0000000..16c887c --- /dev/null +++ b/src/build.rs @@ -0,0 +1,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") +} |