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