From 5d395d4ed73061b247c32dc63db6ddfa2dd62d39 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Wed, 4 Oct 2023 19:55:17 +0100 Subject: initial commit --- src/build.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/build.rs (limited to 'src/build.rs') 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") +} -- cgit