summaryrefslogtreecommitdiffstats
path: root/src/build.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-10-04 19:55:17 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-10-04 19:59:53 +0100
commit5d395d4ed73061b247c32dc63db6ddfa2dd62d39 (patch)
tree084df0c83294123c6e884fa46d022f120ba5de86 /src/build.rs
downloadpinussy-5d395d4ed73061b247c32dc63db6ddfa2dd62d39.tar.gz
pinussy-5d395d4ed73061b247c32dc63db6ddfa2dd62d39.tar.bz2
pinussy-5d395d4ed73061b247c32dc63db6ddfa2dd62d39.zip
initial commit
Diffstat (limited to 'src/build.rs')
-rw-r--r--src/build.rs10
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")
+}